جزئیات آسیبپذیری
CVE-2026-34605
SiYuan: Reflected XSS via SVG namespace prefix bypass in SanitizeSVG ( getDynamicIcon, unauthenticated )
شرح رسمی (انگلیسی)
SiYuan is a personal knowledge management system. From version 3.6.0 to before version 3.6.2, the SanitizeSVG function introduced in version 3.6.0 to fix XSS in the unauthenticated /api/icon/getDynamicIcon endpoint can be bypassed by using namespace-prefixed element names such as <x:script xmlns:x="http://www.w3.org/2000/svg">. The Go HTML5 parser records the element's tag as "x:script" rather than "script", so the tag check passes it through. The SVG is served with Content-Type: image/svg+xml and no Content Security Policy; when a browser opens the response directly, its XML parser resolves the prefix to the SVG namespace and executes the embedded script. This issue has been patched in version 3.6.2.
امتیازهای CVSS
| امتیاز | نسخه | منبع | بردار |
|---|---|---|---|
| 8.6بالا | 4.0 | CVEProject cvelistV5 (CNA) (GitHub_M) | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N |
محصولات آسیبپذیر
| فروشنده | محصول | نسخهها | منبع |
|---|---|---|---|
| siyuan-note | siyuan | >= 3.6.0, < 3.6.2 | CVEProject cvelistV5 (CNA) |
منابع و راهنماها
۳- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-73g7-86qr-jrg3 x_refsource_CONFIRM
- https://github.com/siyuan-note/siyuan/issues/17246 x_refsource_MISC
- https://github.com/siyuan-note/siyuan/releases/tag/v3.6.2 x_refsource_MISC
اطلاعات
- تاریخ انتشار
- ۱۴۰۵/۰۱/۱۲
- آخرین بهروزرسانی
- ۱۴۰۵/۰۱/۱۲
- وضعیت
- منتشرشده
- صادرکننده (CNA)
- GitHub_M
پیشبینی بهرهبرداری (EPSS)
ارزیابی SSVC (CISA)
- قابل خودکارسازی
- خیر
- وضعیت بهرهبرداری
- اثبات مفهوم
- اثر فنی
- کامل
ضعفها (CWE)
- CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')