pandao / editor.md

The open source embeddable online markdown editor (component).
http://editor.md.ipandao.com/
MIT License
13.82k stars 2.42k forks source link

There is an XSS on the editor.md. #985

Open PoppingSnack opened 1 year ago

PoppingSnack commented 1 year ago

This project does not filter the markdown text, resulting in an XSS vulnerability. For example, if "《img src=1 onerror=alert(1)》" is entered during text editing, the malicious script in the text will be executed by editor.md. If a user directly uses editor.md and does not filter text, the user may be attacked. image image