Skip to content

security update: sanitize innerHTML to avoid XSS#78

Open
fakeboboliu wants to merge 2 commits intokkfor:masterfrom
fakeboboliu:master
Open

security update: sanitize innerHTML to avoid XSS#78
fakeboboliu wants to merge 2 commits intokkfor:masterfrom
fakeboboliu:master

Conversation

@fakeboboliu
Copy link

https://github.com/kkfor/for-editor/blob/master/src/index.tsx#L439

dangerouslySetInnerHTML is dangerous. Sanitize your content before use it.

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.

1 participant