CVE Explorer
CVE-2026-31809
SiYuan is a personal knowledge management system. Prior to 3.5.10, SiYuan's SVG sanitizer (SanitizeSVG) checks href attributes for the javascript: prefix using strings.HasPrefix(). However, inserting ASCII tab (	), newline ( ), or carriage return ( ) characters inside the javascript: string bypasses this prefix check. Browsers strip these characters per the WHATWG URL specification before parsing the URL scheme, so the JavaScript still executes. This allows an attacker to inject execu
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"siyuan","vendor":"siyuan-note","versions":[{"status":"affected","version":"< 3.5.10"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:0c60872abfcdd5ed10975ff2e87c51c9d0f2b623d6b56637f8539e94e9cc22e5 · sha256:910462f488118aae… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":6.4,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","userInteraction":"PASSIVE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:0c60872abfcdd5ed10975ff2e87c51c9d0f2b623d6b56637f8539e94e9cc22e5 · sha256:910462f488118aae… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:0c60872abfcdd5ed10975ff2e87c51c9d0f2b623d6b56637f8539e94e9cc22e5 · sha256:910462f488118aae… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"name":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-pmc9-f5qr-2pcr","tags":["x_refsource_CONFIRM"],"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-pmc9-f5qr-2pcr"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:0c60872abfcdd5ed10975ff2e87c51c9d0f2b623d6b56637f8539e94e9cc22e5 · sha256:910462f488118aae… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.