CVE-2026-34605 | SiYuan up to 3.6.1 /api/icon/getDynamicIcon SanitizeSVG cross site scripting (ID 17246)
VulDBArchived Apr 01, 2026✓ Full text saved
A vulnerability was found in SiYuan up to 3.6.1 . It has been classified as problematic . This impacts the function SanitizeSVG of the file /api/icon/getDynamicIcon . This manipulation causes cross site scripting. This vulnerability appears as CVE-2026-34605 . The attack may be initiated remotely. There is no available exploit. Upgrading the affected component is recommended.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-354584 · CVE-2026-34605 · ID 17246
SIYUAN UP TO 3.6.1 /API/ICON/GETDYNAMICICON SANITIZESVG CROSS SITE SCRIPTING
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
4.1 $0-$5k 1.50+
Summaryinfo
A vulnerability was found in SiYuan up to 3.6.1. It has been declared as problematic. Affected is the function SanitizeSVG of the file /api/icon/getDynamicIcon. Such manipulation leads to cross site scripting. This vulnerability is traded as CVE-2026-34605. The attack may be launched remotely. There is no exploit available. It is recommended to upgrade the affected component.
Detailsinfo
A vulnerability, which was classified as problematic, has been found in SiYuan up to 3.6.1. Affected by this issue is the function SanitizeSVG of the file /api/icon/getDynamicIcon. The manipulation with an unknown input leads to a cross site scripting vulnerability. Using CWE to declare the problem leads to CWE-79. The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. Impacted is integrity. CVE summarizes:
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 . 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.
The advisory is shared for download at github.com. This vulnerability is handled as CVE-2026-34605 since 03/30/2026. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Successful exploitation requires user interaction by the victim. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1059.007.
Upgrading to version 3.6.2 eliminates this vulnerability. The upgrade is hosted for download at github.com.
Productinfo
Name
SiYuan
Version
3.6.0
3.6.1
CPE 2.3info
🔒
🔒
CPE 2.2info
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3info
VulDB Meta Base Score: 4.3
VulDB Meta Temp Score: 4.1
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Cross site scripting
CWE: CWE-79 / CWE-94 / CWE-74
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: SiYuan 3.6.2
Timelineinfo
03/30/2026 CVE reserved
04/01/2026 +2 days Advisory disclosed
04/01/2026 +0 days VulDB entry created
04/01/2026 +0 days VulDB entry last update
Sourcesinfo
Advisory: 17246
Status: Confirmed
CVE: CVE-2026-34605 (🔒)
GCVE (CVE): GCVE-0-2026-34605
GCVE (VulDB): GCVE-100-354584
Entryinfo
Created: 04/01/2026 04:38
Changes: 04/01/2026 04:38 (69)
Complete: 🔍
Cache ID: 99:3AE:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸