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-54070: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in siyuan-note siyuan

0
High
VulnerabilityCVE-2026-54070cvecve-2026-54070cwe-79cwe-184
Published: 06/24/2026 (06/24/2026, 21:18:24 UTC)
Source: CVE Database V5
Vendor/Project: siyuan-note
Product: siyuan

Description

SiYuan versions prior to 3.7.0 contain a cross-site scripting (XSS) vulnerability in the rendering of Bazaar package README files. The vulnerability arises because the Markdown-to-HTML renderer uses a sanitizer that fails to block certain modern event handler attributes, allowing malicious JavaScript to execute in the Administrator's browser when viewing package listings. This can lead to full control of the workspace by an attacker. The issue is fixed in version 3.7.0.

CVSS v3.1

Score 7.1high

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L

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:21 UTC

Technical Analysis

CVE-2026-54070 is a cross-site scripting vulnerability in SiYuan, an open-source personal knowledge management system. The vulnerability exists in versions before 3.7.0 in the renderPackageREADME function, which converts Markdown README files to HTML using the lute engine with a sanitizer that only blocks legacy event handler attributes. Modern event handlers such as onpointerover and onfocusin are not blocked, allowing malicious scripts embedded in these attributes to execute when the Administrator views a Bazaar package README. The rendered HTML is inserted directly into the DOM without additional client-side sanitization or protective HTTP headers, enabling script execution in the Administrator's authenticated context. This allows a third-party package author to execute arbitrary JavaScript and gain full control over the workspace. The vulnerability is fixed in version 3.7.0.

Potential Impact

An attacker who authors a malicious third-party Bazaar package can execute arbitrary JavaScript code in the context of an authenticated Administrator when the Administrator views the package listing. This leads to a full compromise of the SiYuan workspace, including potential data theft, manipulation, or further system compromise. The vulnerability requires the Administrator to view and interact with the malicious package listing after granting marketplace trust consent. There are no known exploits in the wild.

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 additional mitigations such as CSP or client-side sanitization are present in affected versions. Patch status is not explicitly stated in the vendor advisory, but the fix is confirmed in version 3.7.0. Until upgrading, administrators should avoid opening untrusted Bazaar package listings.

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-11T18:24:35.097Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a3c501e4853345fc1e45c48

Added to database: 06/24/2026, 21:46:06 UTC

Last enriched: 06/24/2026, 22:02:21 UTC

Last updated: 06/24/2026, 22:54:27 UTC

Views: 4

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