CVE-2026-87814: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in siyuan-note siyuan
SiYuan before v3.8.2 contains a stored cross-site scripting vulnerability in the search asset preview feature that fails to escape indexed asset content before inserting it into the DOM using innerHTML. Attackers who can place crafted text assets in a workspace can execute JavaScript in the SiYuan origin when victims preview the assets, enabling authenticated API requests and workspace manipulation.
AI Analysis
Technical Summary
CVE-2026-87814 is a stored cross-site scripting vulnerability affecting SiYuan note-taking software before version 3.8.2. The flaw exists in the search asset preview feature, where indexed asset content is inserted into the DOM using innerHTML without proper escaping or neutralization. This allows attackers who can place malicious text assets in a workspace to execute arbitrary JavaScript code when other users preview these assets. The executed script can perform authenticated API requests and manipulate the victim's workspace, potentially compromising user data and session integrity.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the SiYuan application origin. This can lead to unauthorized authenticated API requests and manipulation of the victim's workspace, potentially resulting in data compromise or unauthorized actions within the application. The vulnerability requires the attacker to have the ability to add crafted text assets to a workspace and the victim to preview those assets.
Mitigation Recommendations
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 vendor advisory or patch details are provided, so checking the official SiYuan release notes or security advisories for confirmation and further guidance is recommended.
CVE-2026-87814: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in siyuan-note siyuan
Description
SiYuan before v3.8.2 contains a stored cross-site scripting vulnerability in the search asset preview feature that fails to escape indexed asset content before inserting it into the DOM using innerHTML. Attackers who can place crafted text assets in a workspace can execute JavaScript in the SiYuan origin when victims preview the assets, enabling authenticated API requests and workspace manipulation.
CVSS v4.0
Score 8.4high
Affected software
pkg:github/siyuan-note/siyuanRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-87814 is a stored cross-site scripting vulnerability affecting SiYuan note-taking software before version 3.8.2. The flaw exists in the search asset preview feature, where indexed asset content is inserted into the DOM using innerHTML without proper escaping or neutralization. This allows attackers who can place malicious text assets in a workspace to execute arbitrary JavaScript code when other users preview these assets. The executed script can perform authenticated API requests and manipulate the victim's workspace, potentially compromising user data and session integrity.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the SiYuan application origin. This can lead to unauthorized authenticated API requests and manipulation of the victim's workspace, potentially resulting in data compromise or unauthorized actions within the application. The vulnerability requires the attacker to have the ability to add crafted text assets to a workspace and the victim to preview those assets.
Mitigation Recommendations
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 vendor advisory or patch details are provided, so checking the official SiYuan release notes or security advisories for confirmation and further guidance is recommended.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-09-09T10:30:15.670Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6aa1450bacd9273b494035ec
Added to database: 09/09/2026, 11:37:47 UTC
Last enriched: 09/09/2026, 11:52:28 UTC
Last updated: 09/09/2026, 23:18:46 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.