PT-2026-24464 · Siyuan · Siyuan

0Xkakash1

·

Published

2026-03-10

·

Updated

2026-03-25

·

CVE-2026-31809

CVSS v4.0

6.4

Medium

VectorAV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
Name of the Vulnerable Software and Affected Versions SiYuan versions prior to 3.5.10
Description SiYuan is a personal knowledge management system susceptible to a reflected cross-site scripting (XSS) condition. The SVG sanitizer, SanitizeSVG, inadequately checks href attributes for the 'javascript:' prefix. Specifically, the use of ASCII tab ( ), newline ( ), or carriage return ( ) characters within the 'javascript:' string bypasses the prefix check. This allows for the injection of executable JavaScript code. The vulnerable API endpoint is /api/icon/getDynamicIcon, and the issue stems from insufficient sanitization of input provided to the href attribute. This is a second bypass of a previous fix.
Recommendations Update SiYuan to version 3.5.10 or later.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-31809
GHSA-PMC9-F5QR-2PCR
GO-2026-4669
SUSE-SU-2026:1042-1

Affected Products

Siyuan