CVE-2026-32940: Vulnerability in B3log Siyuan

Critical. SanitizeSVG blocks data:text/html and data:image/svg+xml in href attributes but misses data:text/xml and data:application/xml. Both render SVG with onload JavaScript execution (confirmed in Chromium 136, other browsers untested).

Go, CWE-79, CWE-184

Exploitation
None confirmed
Severity
9.3 of 10
Attack likelihood
0.5 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-4mx9-3c2h-hwhg
EU ID
EUVD-2026-13523
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Weakness
CWE-79, CWE-184
Published
17 Mar 2026
Last change
17 Jun 2026
Likelihood rank
Higher than 39 % of all rated vulnerabilities
Ecosystem
Go

Affected products

Affected versions and the first fixed release

  • B3log Siyuan Before 3.6.1. Fixed in 3.6.1

Affected packages

Vulnerable version ranges and fixed releases

  • github.com/siyuan-note/siyuan Go, Affected through 0.0.0-20260313024916-fd6526133bb3. No fixed version recorded

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related