Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-54759: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in siyuan-note siyuan

0
High
VulnerabilityCVE-2026-54759cvecve-2026-54759cwe-79
Published: 06/24/2026 (06/24/2026, 21:21:57 UTC)
Source: CVE Database V5
Vendor/Project: siyuan-note
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →ai
siyuan-note/siyuan
pkg:github/siyuan-note/siyuan
Affected versions
<3.7.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/24/2026, 22:02:04 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses