CVE-2026-87812

SiYuan before v3.8.2 Stored XSS via Bazaar iconURL

Published Sep 9, 2026 CVSS 4.0 · 7.4 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

SiYuan before version 3.8.2 stores user‑supplied iconURL values directly into HTML img tags without escaping, allowing attackers who can create or upload Bazaar packages to inject malicious URLs that trigger JavaScript when other users view the listings. This stored cross‑site scripting enables the execution of scripts in the authenticated user’s browser context, permitting the attacker to make API requests and manipulate application state.

Affected Systems

SiYuan Note, version earlier than 3.8.2. The affected product is Siyuan, and the vendor is Siyuan Note.

Risk and Exploitability

The CVSS score of 7.4 signals high severity. No EPSS score is available, so the exact exploitation probability cannot be quantified, and the vulnerability is not listed in the CISA KEV catalog. The likely attack path involves an attacker creating a Bazaar package with a malicious iconURL that includes an event handler such as onerror. When a legitimate user opens the Bazaar listing, the script runs under the user’s authenticated context, allowing the attacker to perform unauthorized API calls and change application state.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to version 3.8.2 or later
  • Sanitize or remove malicious iconURL entries in existing Bazaar packages
  • Restrict or disable Bazaar access for untrusted users until the upgrade is applied

Generated by OpenCVE AI on September 9, 2026 at 12:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Siyuan
Siyuan siyuan
Vendors & Products Siyuan
Siyuan siyuan
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title SiYuan before v3.8.2 Stored XSS via Bazaar iconURL
First Time appeared B3log
B3log siyuan
Weaknesses CWE-79
CPEs cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
Vendors & Products B3log
B3log siyuan
References
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 7.4, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 10, 2026, 2:58 PM
Reserved
Sep 9, 2026, 10:30 AM
Status
Deferred
Published
Sep 9, 2026, 12:17 PM
Modified
Sep 10, 2026, 3:17 PM