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

0
Medium
VulnerabilityCVE-2026-25647cvecve-2026-25647cwe-79
Published: Fri Feb 06 2026 (02/06/2026, 19:03:36 UTC)
Source: CVE Database V5
Vendor/Project: siyuan-note
Product: siyuan

Description

Lute is a structured Markdown engine supporting Go and JavaScript. Lute 1.7.6 and earlier (as used in SiYuan before) has a Stored Cross-Site Scripting (XSS) vulnerability in the Markdown rendering engine. An attacker can inject malicious JavaScript into a Markdown text/note. When another user clicks the rendered content, the script executes in the context of their session.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/14/2026, 12:11:06 UTC

Technical Analysis

CVE-2026-25647 identifies a stored Cross-Site Scripting (XSS) vulnerability in the Lute Markdown engine version 1.7.6 and earlier, which is integrated into the siyuan-note application before version 3.5.5. The vulnerability arises from improper neutralization of input during web page generation (CWE-79), allowing an attacker to embed malicious JavaScript code within Markdown notes. When another user accesses and renders the compromised note, the injected script executes within their browser context, potentially exposing session tokens, cookies, or enabling actions on behalf of the victim user. The attack vector requires the attacker to have at least low privileges (PR:L) to submit malicious Markdown content and the victim to perform user interaction (UI:R), such as clicking or viewing the note. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N) indicates network attack vector, low attack complexity, and partial impact on confidentiality and integrity but no impact on availability. No public exploits have been reported yet, but the vulnerability poses a risk in collaborative environments where multiple users can create or edit notes. The lack of a patch link suggests users must upgrade to siyuan-note 3.5.5 or later, where this vulnerability is presumably fixed.

Potential Impact

For European organizations, this vulnerability could lead to unauthorized disclosure of sensitive information such as session cookies or user credentials if exploited, enabling further attacks like session hijacking or privilege escalation within the affected application. The integrity of note content can also be compromised, potentially misleading users or injecting malicious payloads into internal communications. Although availability is not impacted, the breach of confidentiality and integrity can undermine trust in collaboration platforms. Organizations using siyuan-note for knowledge management, documentation, or team collaboration are at risk, especially if untrusted users or external collaborators have note editing permissions. The medium severity rating reflects that exploitation requires some user interaction and privileges, limiting the scope but not eliminating risk. The absence of known exploits reduces immediate threat but does not preclude future attacks. European entities with strict data protection regulations (e.g., GDPR) must consider the risk of data leakage and reputational damage.

Mitigation Recommendations

European organizations should immediately upgrade siyuan-note installations to version 3.5.5 or later, where this vulnerability is addressed. Until upgrading, restrict note creation and editing permissions to trusted users only to minimize injection risk. Implement input validation and sanitization on Markdown content at the application level to neutralize potentially malicious scripts. Employ Content Security Policy (CSP) headers to limit the execution of unauthorized scripts in browsers. Monitor logs for unusual note content submissions or user activity indicative of exploitation attempts. Educate users to be cautious when interacting with notes from untrusted sources, especially avoiding clicking suspicious links or content. Regularly audit and review collaboration platform configurations and user permissions to enforce the principle of least privilege. Finally, maintain an incident response plan to quickly address any detected exploitation.

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-02-04T05:15:41.792Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69863dc0f9fa50a62f292942

Added to database: 2/6/2026, 7:15:12 PM

Last enriched: 2/14/2026, 12:11:06 PM

Last updated: 3/24/2026, 12:18:11 AM

Views: 41

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