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

Published Sep 9, 2026
·
Updated

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.

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

Event History

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

Frequently Asked Questions

1

Which users are exposed to the malicious script?

Users are exposed when they search assets and the Search Assets result list renders an asset filename containing malicious markup. The script executes in the victim's browser in SiYuan's same-origin context.

2

What access does an attacker need to exploit this issue?

The attacker must be authenticated and able to create or provide an asset with a crafted filename. Exploitation also requires a victim to search assets so that the crafted filename appears in the results.

3

What could successful exploitation allow?

The injected JavaScript can make same-origin API requests and manipulate application state using the victim's browser session. The provided severity vector indicates high confidentiality and integrity impact, with no availability impact.

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