frontend
frontend copied to clipboard
Stored XSS in markdown preview
详情:https://github.com/cloudreve/Cloudreve/issues/986
成因:https://github.com/kkfor/for-editor/blob/d97c009dd13c39c02163327a85500cf4de1cc90a/src/index.tsx#L439 将文本直接使用 dangerouslySetInnerHTML ,造成 xss
建议:换个库