CVE-2026-87812: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in siyuan-note siyuan
Affects siyuan-note siyuanSource CVE Database V5
Not known to be exploited · CVSS 7.4 High · fixed in 3.8.2 : patch siyuan-note siyuan soon.
Data as of 10/25/2026, 04:40:14 UTC
- Exploitation
Not in CISA KEV, no exploitation reported
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 28% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.8.2
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NWhat to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| siyuan-notesiyuan | Affected
| Fixed in
|
GitHubsiyuan-note/siyuanpkg:github/siyuan-note/siyuanOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in SiYuan version 3.8.2. Users and administrators should upgrade to version 3.8.2 or later to remediate this vulnerability. No additional mitigation steps are indicated in the vendor advisory.
Description
SiYuan note-taking software versions prior to 3.8.2 contain a stored cross-site scripting (XSS) vulnerability. This flaw occurs because the iconURL metadata in Bazaar package cards is inserted directly into HTML img src attributes without proper escaping. An attacker can exploit this by injecting malicious URLs with event handlers that execute JavaScript when authenticated users view Bazaar listings. This enables unauthorized API requests and manipulation of application state within the authenticated session.
Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of an authenticated SiYuan user, potentially enabling unauthorized API requests and manipulation of application state. This compromises the confidentiality and integrity of the user's session and data within the application.