for-editor icon indicating copy to clipboard operation
for-editor copied to clipboard

security update: sanitize innerHTML to avoid XSS

Open fakeboboliu opened this issue 3 years ago • 0 comments

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

dangerouslySetInnerHTML is dangerous. Sanitize your content before use it.

fakeboboliu avatar Aug 22 '21 11:08 fakeboboliu