6.4

CVE-2026-31807: b3log siyuan Cross-site Scripting

CVSS: 6.4v4.0MediumAnalyzed
AliasesGHSA-5hc8-qmg8-pw27GO-2026-4667
Published 10-03-2026Last modified 11-03-2026

Vulnerability summary

CVE-2026-31807 is a medium (CVSS 6.4) Cross-site Scripting vulnerability in b3log siyuan. EPSS estimates a 0.50% chance of exploitation in the next 30 days, higher than 41.6% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
36/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.4/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.50%
0%100%
Low · +0.06 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 2 · Related 2

Timeline

  1. 10-03-2026
    PublishedVulnerability first disclosed.
  2. 11-03-2026
    Last modifiedVulnerability information updated.

Description

SiYuan is a personal knowledge management system. Prior to 3.5.10, SiYuan's SVG sanitizer (SanitizeSVG) blocks dangerous elements (<script>, <iframe>, <foreignobject>) and removes on* event handlers and javascript: in href attributes. However, it does NOT block SVG animation elements (<animate>, <set>) which can dynamically set attributes to dangerous values at runtime, bypassing the static sanitization. This allows an attacker to inject executable JavaScript into the unauthenticated /api/icon/getDynamicIcon endpoint (type=8), creating a reflected XSS. This is a bypass of the fix for CVE-2026-29183 (fixed in v3.5.9). This vulnerability is fixed in v3.5.10.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.50%

Chance of exploitation in the next 30 days

Percentile

42%

Versus all other CVEs

30-day change

+0.06 pp

From 0.45% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.50%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Siyuan

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

B3log1 product
Github.com/siyuan-note/siyuan1 product
  • kernel< 0.0.0-20260310025236-297bd526708f
Siyuan-note1 product

3 vendors · 3 products

References

4 links