CVE-2026-54759

SiYuan: Lute HTML sanitizer allows `<iframe>` tags in Bazaar package README, leading to arbitrary command execution via SiYuan Electron client

Published Jun 24, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

SiYuan’s Lute HTML sanitizer fails to strip < 3.7.0. When a malicious Bazaar package README is displayed in the Electron client, the embedded <iframe> triggers execution of arbitrary commands on the host machine. The weakness is an injection flaw classified as CWE‑79, which directly compromises confidentiality, integrity, and availability of the affected system.

Affected Systems

The affected product is Siyuan by siyuan-note. Any deployment of the Siyuan client running a version earlier than 3.7.0 is vulnerable. The Electron-based desktop application is the primary entry point, as it renders the README with a permissive security configuration.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity. No EPSS score is publicly available, and the vulnerability is not listed in the CISA KEV catalog. An attacker can introduce a malicious README into a Bazaar package distributed to a user; the README is rendered automatically when the package details are viewed, so no explicit installation of the package is required. The attack vector is likely local or social‑engineering based, relying on user interaction to open the README. Timely remediation is essential to prevent exploitation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SiYuan to version 3.7.0 or later, where the Lute sanitizer blocks <iframe> tags.
  • , avoid opening Bazaar package readmes from untrusted or unknown sources until a patch is applied.
  • Configure the Electron client to restrict external content loading, such as disabling node integration or applying a stricter web‑view security policy, to mitigate the execution of malicious code via iframes.

Generated by OpenCVE AI on June 25, 2026 at 00:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Siyuan
Siyuan siyuan
Vendors & Products Siyuan
Siyuan siyuan
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title SiYuan: Lute HTML sanitizer allows `<iframe>` tags in Bazaar package README, leading to arbitrary command execution via SiYuan Electron client
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 8.7, 'vector': '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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 25, 2026, 12:32 PM
Reserved
Jun 15, 2026, 11:12 PM
Status
Deferred
Published
Jun 24, 2026, 10:16 PM
Modified
Oct 25, 2026, 11:10 PM