CVE-2026-87813: 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 8.4 High.
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 29% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/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
Users should upgrade to SiYuan version 3.8.2 or later once available. Until then, restrict asset filename inputs to trusted users and avoid searching assets with untrusted filenames to reduce exposure.
Description
SiYuan before v3.8.2 contains a stored cross-site scripting vulnerability in the Search Assets result list where asset filenames are interpolated into HTML without escaping. Authenticated attackers can craft asset filenames containing malicious markup that executes JavaScript in the victim's browser when searching assets, enabling same-origin API requests and application state manipulation.
Impact
An attacker with authenticated access can exploit this vulnerability to execute arbitrary JavaScript in the victim's browser when they perform asset searches. This can result in unauthorized actions within the application context, including API requests and state changes, potentially compromising user data or application integrity. The vulnerability has a high severity rating with a CVSS 4.0 score of 8.4.