CVE-2026-87812: SiYuan before v3.8.2 Stored XSS via Bazaar iconURL

Published Sep 9, 2026
·
Updated

SiYuan before v3.8.2 contains a stored cross-site scripting vulnerability in Bazaar package cards where the iconURL metadata is inserted directly into HTML img src attributes without escaping. Attackers can inject malicious URLs with event handlers that execute JavaScript in the authenticated SiYuan origin when users view Bazaar listings, enabling 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 v3.8.2
  2. Compensating control

    After upgrading, monitor SiYuan Bazaar listings for malicious iconURL payloads and remove/clean any affected Bazaar package cards that may still contain stored XSS content.

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 exploitation?

Authenticated SiYuan users are exposed when they view Bazaar listings containing a malicious package card. Exploitation requires user interaction because the victim must view the affected listing.

2

What does an attacker need to do to trigger the issue?

An attacker needs to place a crafted iconURL value in Bazaar package-card metadata. The malicious value can include event handlers that execute JavaScript when the card's image source is rendered.

3

What can successful script execution do?

The injected JavaScript runs in the authenticated SiYuan origin. It can make API requests and manipulate application state using the victim's authenticated context.

4

Which versions should be remediated?

SiYuan versions before 3.8.2 are affected. Upgrading to version 3.8.2 or later addresses the vulnerable handling of Bazaar iconURL metadata.

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