
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-25647 is a Stored Cross-Site Scripting (XSS) vulnerability in the Lute Markdown rendering engine (versions 1.7.6 and earlier) as used in the SiYuan note-taking application. Attackers with low-privileged access can inject malicious JavaScript into Markdown notes or text; when another user clicks the rendered content, the script executes in the context of their session. Affected versions include SiYuan up to and including v3.5.4, with v3.5.5 being the first patched release. The vulnerability was published on February 6, 2026, and carries a CVSS v3.1 base score of 5.4 (Medium) (GitHub Advisory, Red Hat CVE).
The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically insufficient filtering of dangerous URI schemes within Markdown hyperlink processing. The Lute engine failed to sanitize href attributes during Markdown-to-HTML conversion, allowing attackers to embed javascript: or data: URI schemes in Markdown link syntax (e.g., [Click Me](javascript:alert('XSS'))). The fix, applied in commit 0118e21 of the Lute repository, adds a SanitizeSrc() call within the renderTextMarkAttrs function to strip dangerous URI schemes from link href values before rendering (GitHub Advisory, Lute Patch Commit). A proof-of-concept is publicly documented in the security advisory, referencing known XSS-in-Markdown payloads.
Successful exploitation allows an attacker to execute arbitrary JavaScript in the browser session of any user who clicks a maliciously crafted Markdown link. This can result in session cookie/token theft, unauthorized actions performed on behalf of the victim (CSRF via XSS), redirection to malicious websites, and DOM manipulation or page defacement. The scope is limited to users of shared or collaborative SiYuan instances where notes created by one user are viewable by others (GitHub Advisory).
A proof-of-concept exploit is publicly available in the GitHub Security Advisory, demonstrating payloads such as [a](javascript:prompt(document.domain)) and [Click Me](javascript:alert('XSS')). There is no evidence of active in-the-wild exploitation at this time. The EPSS score is approximately 0.029% (0.000290), indicating low probability of near-term exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (GitHub Advisory, Red Hat CVE).
javascript: URI scheme payload, e.g., [Click Me](javascript:alert('XSS')) or [a](javascript:prompt(document.domain)) (GitHub Advisory).javascript: or data: strings in link fields; unusual API calls to note-editing endpoints from low-privileged accounts followed by access from other accounts..sy or similar) containing hyperlinks with javascript: or data: URI schemes in href attributes.Upgrade SiYuan to version 3.5.5 or later, which incorporates the patched Lute engine that sanitizes dangerous URI schemes in Markdown link href attributes (GitHub Advisory, Lute Patch Commit). As a workaround prior to patching, restrict note creation/editing permissions to trusted users only and avoid sharing notes from untrusted sources. Additionally, implementing a strict Content Security Policy (CSP) that blocks javascript: URI execution can reduce the impact of any residual XSS vectors. Review existing notes for suspicious Markdown hyperlinks containing javascript: or data: URI schemes.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."