Skip to content

Conversation

@utkukaratas
Copy link
Contributor

@utkukaratas utkukaratas commented Feb 19, 2021

mandatory for fixing XSS issues.

ps. to see the XSS issue just enter this line in the console example: <img src="xxx" onError="alert('you are screwed')">

pss. i didn't want to fix the XSS right there by escaping the html because it might be what the users of react-console want (maybe add rich elements?). with a callback, it's just up to the user to do his own logic.

@danad02 danad02 merged commit 847e990 into webscopeio:master Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants