CVE-2026-54759: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in siyuan-note siyuan
SiYuan, an open-source personal knowledge management system, has a cross-site scripting (XSS) vulnerability in versions prior to 3.7.0. The vulnerability arises because Lute's HTML sanitizer does not remove <iframe> elements, and combined with the Electron client's permissive security settings, this allows an attacker to embed a malicious <iframe> in a Bazaar package README. Viewing the package details can lead to arbitrary command execution on the victim's machine without requiring package installation. This issue is fixed in version 3.7.0.
AI Analysis
Technical Summary
CVE-2026-54759 is a cross-site scripting vulnerability (CWE-79) in SiYuan prior to version 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 any package installation. The vulnerability is resolved 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 that is viewed by the victim. This can occur without requiring the victim to install the package, increasing the attack surface. The vulnerability allows remote code execution via a crafted README display, posing a high security risk.
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 or temporary fixes are documented. Until upgrading, users should avoid viewing untrusted Bazaar package READMEs within the SiYuan client.
CVE-2026-54759: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in siyuan-note siyuan
Description
SiYuan, an open-source personal knowledge management system, has a cross-site scripting (XSS) vulnerability in versions prior to 3.7.0. The vulnerability arises because Lute's HTML sanitizer does not remove <iframe> elements, and combined with the Electron client's permissive security settings, this allows an attacker to embed a malicious <iframe> in a Bazaar package README. Viewing the package details can lead to arbitrary command execution on the victim's machine without requiring package installation. This issue is fixed in version 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 prior to version 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 any package installation. The vulnerability is resolved 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 that is viewed by the victim. This can occur without requiring the victim to install the package, increasing the attack surface. The vulnerability allows remote code execution via a crafted README display, posing a high security risk.
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 or temporary fixes are documented. Until upgrading, users should avoid viewing untrusted Bazaar package READMEs within the SiYuan client.
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: 06/24/2026, 22:02:04 UTC
Last updated: 06/24/2026, 22:54:27 UTC
Views: 3
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.