CVE-2026-54759: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in siyuan-note siyuan
SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, Lute's HTML sanitizer does not remove <iframe> elements. Combined with the SiYuan Electron client's permissive security configuration, an attacker can include a malicious <iframe> in a Bazaar package README that executes arbitrary commands on the victim's machine when the package details are viewed. No package installation is required. This vulnerability is fixed in 3.7.0.
AI Analysis
Technical Summary
CVE-2026-54759 is a cross-site scripting vulnerability (CWE-79) in SiYuan versions before 3.7.0. The root cause is that Lute's HTML sanitizer fails to remove <iframe> elements, which, when combined with the permissive security configuration of the SiYuan Electron client, enables an attacker to embed a malicious <iframe> in a Bazaar package README. When a user views the package details, the malicious iframe can execute arbitrary commands on the victim's machine without needing to install the package. This vulnerability is addressed and fixed in SiYuan version 3.7.0.
Potential Impact
An attacker can execute arbitrary commands on a victim's machine by embedding a malicious iframe in a Bazaar package README. This occurs without requiring the victim to install the package, only to view its details. The vulnerability allows remote code execution via a cross-site scripting vector, posing a high security risk to affected users.
Mitigation Recommendations
This vulnerability is fixed in SiYuan version 3.7.0. Users should upgrade to version 3.7.0 or later to remediate this issue. No other official remediation level or temporary fix is indicated. Patch status is confirmed by the vendor advisory stating the fix is in 3.7.0.
CVE-2026-54759: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in siyuan-note siyuan
Description
SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, Lute's HTML sanitizer does not remove <iframe> elements. Combined with the SiYuan Electron client's permissive security configuration, an attacker can include a malicious <iframe> in a Bazaar package README that executes arbitrary commands on the victim's machine when the package details are viewed. No package installation is required. This vulnerability is fixed in 3.7.0.
CVSS v4.0
Score 8.7high
Affected software
pkg:github/siyuan-note/siyuanRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-54759 is a cross-site scripting vulnerability (CWE-79) in SiYuan versions before 3.7.0. The root cause is that Lute's HTML sanitizer fails to remove <iframe> elements, which, when combined with the permissive security configuration of the SiYuan Electron client, enables an attacker to embed a malicious <iframe> in a Bazaar package README. When a user views the package details, the malicious iframe can execute arbitrary commands on the victim's machine without needing to install the package. This vulnerability is addressed and fixed in SiYuan version 3.7.0.
Potential Impact
An attacker can execute arbitrary commands on a victim's machine by embedding a malicious iframe in a Bazaar package README. This occurs without requiring the victim to install the package, only to view its details. The vulnerability allows remote code execution via a cross-site scripting vector, posing a high security risk to affected users.
Mitigation Recommendations
This vulnerability is fixed in SiYuan version 3.7.0. Users should upgrade to version 3.7.0 or later to remediate this issue. No other official remediation level or temporary fix is indicated. Patch status is confirmed by the vendor advisory stating the fix is in 3.7.0.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-15T23:12:41.966Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3c501e4853345fc1e45c4f
Added to database: 06/24/2026, 21:46:06 UTC
Last enriched: 07/01/2026, 22:46:47 UTC
Last updated: 08/09/2026, 00:41:15 UTC
Views: 82
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.