Listen to this Post
The vulnerability is a reflected cross-site scripting (XSS) in the `/api/icon/getDynamicIcon` endpoint of SiYuan note-taking software. This endpoint generates dynamic SVG icons for text (type=8). It takes a `content` query parameter and inserts its value directly into an SVG `</text><script>alert(window.origin)</script><text>. This payload closes the original `
Check response Content-Type.
grep -r "getDynamicIcon" siyuan-code/
How Exploit:
Craft malicious URL.
Phish user visit.
Script executes automatically.
Protection from this CVE:
Update software version.
Escape XML input.
Validate user input.
Impact:
Arbitrary JavaScript execution.
Session hijacking possible.
Data theft risk.
🎯Let’s Practice Exploiting & Learn Patching For Free:
Sources:
Reported By: github.com
Extra Source Hub:
Undercode

