PT-2026-76917 · Siyuan · Siyuan
CVSS v3.1
8.6
High
| Vector | AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
SiYuan versions prior to 3.7.4
Description
A cross-site scripting issue exists in the file upload validation flow. The software fails to escape filenames before inserting them into HTML using the
insertAdjacentHTML() function. This allows attackers to use malicious filenames containing script payloads that can execute with full OS command access when a user drags, drops, or pastes a file into the editor.Recommendations
Update SiYuan to version 3.7.4 or later.
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Siyuan