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.
Published: 2026-09-09
Score: 7.4 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Wed, 09 Sep 2026 11:30:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-09T11:21:00.494Z

Reserved: 2026-09-09T10:30:15.669Z

Link: CVE-2026-87812

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-09T12:17:16.100

Modified: 2026-09-09T12:17:16.100

Link: CVE-2026-87812

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-09T13:00:14Z

Weaknesses
  • CWE-79

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