CVE-2026-87813 SiYuan before v3.8.2 Stored XSS via unescaped asset filenames

High 8.4 Published Updated

Authenticated attackers can inject malicious scripts via asset filenames in SiYuan, leading to JavaScript execution and application state manipulation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-87813?

CVE-2026-87813 is a high-severity cross-site scripting vulnerability in siyuan-note siyuan, published on 9 Sep 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-79

Which versions are affected by CVE-2026-87813?

How do I fix CVE-2026-87813?

No fix has been published for CVE-2026-87813 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-87813 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-87813 exists.

Sources

Also known as GHSA-qcw6-qm34-28h8, GHSA-x62c-gcj4-v66g.

Is CVE-2026-87813 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free