CVE-2026-74902

CRITICAL CVSS 4.0: 9.3 EPSS 0.20%
Updated Oct 23, 2026
B3Log
Parameter Value
CVSS 9.3 (CRITICAL)
Affected Versions before 3.7.4
Fixed In 3.7.4
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor B3Log
Public PoC No

SiYuan before v3.7.4 contains a cross-site scripting vulnerability in the file upload validation flow that fails to escape filenames before inserting them into HTML via insertAdjacentHTML. Attackers can craft a malicious filename containing script payloads that execute with full OS command access when a user drags, drops, or pastes the file into the editor.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
B3log Siyuan
cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
— 3.7.4