CVE-2026-87814: SiYuan before v3.8.2 Stored XSS via Asset Preview

Published Sep 9, 2026
·
Updated

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.

Affected Software

1 affected component
SiYuan SiYuan<3.8.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade SiYuan to a version that resolves this vulnerability.

    Fixed in 3.8.2
  2. Compensating control

    Restrict access to workspaces/asset previews so attackers cannot place crafted text assets in a workspace (e.g., limit who can create/upload assets to trusted users/roles).

Event History

Sep 9, 2026
CVE Published
via MITRE·11:21 AM
Data Sourced
via MITRE·11:21 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An attacker needs permission or another way to place crafted text assets in a SiYuan workspace. Exploitation also requires a victim to preview the malicious asset through the search asset preview feature.

2

Are users exposed merely by having a malicious asset in a workspace?

No. The provided information indicates that JavaScript executes when a victim previews the crafted asset; user interaction is required.

3

What could successful exploitation allow?

Script runs in the SiYuan origin, allowing the attacker to make authenticated API requests as the victim and manipulate workspace content.

4

Which versions are affected?

SiYuan versions before 3.8.2 are affected. Updating to 3.8.2 or later addresses the affected version range described.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203