Security mailing lists by PureSourceCode

CVE-2026-23645

MEDIUM 5.3CVSS 4.0

SiYuan Has a Stored Cross-Site Scripting (XSS) Vulnerability via Unrestricted SVG File Upload

SiYuan is self-hosted, open source personal knowledge management software. Prior to 3.5.4-dev2, a Stored Cross-Site Scripting (XSS) vulnerability exists in SiYuan Note. The application does not sanitize uploaded SVG files. If a user uploads and views a malicious SVG file (e.g., imported from an untrusted source), arbitrary JavaScript code is executed in the context of their authenticated session. This vulnerability is fixed in 3.5.4-dev2.

Published
16 Jan 2026
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-79
Also known as
GHSA-pcjq-j3mq-jv5jGO-2026-4324
Sources
NVDJSONOSV GHSA-pcjq-j3mq-jv5jJSONOSV GO-2026-4324JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 MEDIUM 5.3 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD b3log siyuan
cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
< 3.5.4 3.5.4
NVD b3log siyuan
cpe:2.3:a:b3log:siyuan:3.5.4:dev1:*:*:*:*:*:*
= 3.5.4
OSV Go github.com/siyuan-note/siyuan/kernel < 0.0.0-20260116101155-11115da3d0de 0.0.0-20260116101155-11115da3d0de

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 16 Jan 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 3 Feb 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Jan 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.