CVE-2026-84803: SiYuan before v3.8.2 Stored XSS via incomplete asset blocklist

Published Sep 2, 2026
·
Updated

SiYuan before v3.8.2 contains a stored cross-site scripting vulnerability in asset serving due to an incomplete extension blocklist that misses script-capable file types. Attackers can upload files with extensions like .xht, .ehtml, .xsl, .xbl, or .rdf that resolve to executable media types and execute JavaScript to steal API tokens and compromise workspaces.

Affected Software

1 affected component
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

    Block upload/serving of script-capable file extensions that can resolve to executable media types (e.g., .xht, .ehtml, .xsl, .xbl, .rdf) to prevent stored XSS in asset serving when the extension blocklist is incomplete.

Event History

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

Frequently Asked Questions

1

Which deployments are affected?

SiYuan versions before 3.8.2 are affected. The issue is in asset serving and concerns uploaded files with script-capable extensions that are not covered by the extension blocklist.

2

What does an attacker need to exploit this issue?

An attacker needs the ability to upload a crafted asset file, such as one using .xht, .ehtml, .xsl, .xbl, or .rdf. Exploitation also requires a victim to interact with the stored content, as indicated by the required user interaction vector.

3

What is the likely impact if exploitation succeeds?

A crafted uploaded asset can execute JavaScript in a victim's browser. This can allow theft of API tokens and compromise of SiYuan workspaces, with high impact to confidentiality, integrity, and availability.

4

How can I identify potentially malicious uploaded assets?

Review uploaded assets for script-capable extensions omitted from the blocklist, including .xht, .ehtml, .xsl, .xbl, and .rdf. Such files may be served with executable media types and should be treated as potentially unsafe.

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