CVE-2026-87811: SiYuan before v3.8.2 Stored XSS via notebook template paths

Published Sep 9, 2026
·
Updated

SiYuan before v3.8.2 inserts persisted notebook template paths into HTML input value attributes without proper attribute encoding. Attackers can craft malicious template paths that break out of the attribute context and execute JavaScript when a victim opens notebook configuration, 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:20 AM
Data Sourced
via MITRE·11:20 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which SiYuan installations are affected?

SiYuan versions before v3.8.2 are affected. Upgrade to v3.8.2 or later to address the issue.

2

What must an attacker do for exploitation to occur?

The attacker needs low-level privileges to create or modify a persisted notebook template path with malicious content. A victim must then open the notebook configuration where that path is rendered.

3

What could successful exploitation allow?

JavaScript executes in the victim's SiYuan same-origin context. This can enable same-origin API requests and manipulation of application state.

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