CVE-2026-87813: 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 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.
AI Analysis
Technical Summary
CVE-2026-87813 is a stored cross-site scripting vulnerability affecting SiYuan note-taking software versions before 3.8.2. The flaw arises from improper neutralization of input during web page generation, specifically 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 context of the victim's browser upon searching assets. This can lead to unauthorized same-origin API requests and manipulation of the application's state.
Potential 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.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. 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.
CVE-2026-87813: 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 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.
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-87813 is a stored cross-site scripting vulnerability affecting SiYuan note-taking software versions before 3.8.2. The flaw arises from improper neutralization of input during web page generation, specifically 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 context of the victim's browser upon searching assets. This can lead to unauthorized same-origin API requests and manipulation of the application's state.
Potential 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.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. 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.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-09-09T10:30:15.669Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6aa1450bacd9273b494035ea
Added to database: 09/09/2026, 11:37:47 UTC
Last enriched: 09/09/2026, 11:52:32 UTC
Last updated: 09/09/2026, 21:36:42 UTC
Views: 7
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.