CVE-2026-73041

Summary

SiYuan versions before v3.7.4 fail to validate or escape annotation fields written to disk by the setFileAnnotation endpoint. Attackers can inject malicious markup into annotation fields that execute as script in the PDF renderer with full Node.js access when a user opens an annotated PDF.

Affected Software

VendorProductVersion RangeStatus
siyuan-notesiyuan0 < 3.7.4affected
siyuan-notesiyuan3.7.4unaffected

Weaknesses

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

References