mirror of
https://github.com/penpot/penpot.git
synced 2026-06-02 05:30:19 +00:00
Add escape-html function that escapes HTML special characters and apply it in the comment editor at four dom/set-html! call sites where user-provided text is inserted as innerHTML, preventing stored XSS. Signed-off-by: Andrey Antukh <niwi@niwi.nz>