Lute Stored Cross-Site Scripting Vulnerability

Vulnerability

A stored cross-site scripting vulnerability has been identified in Lute, a structured Markdown engine for Go and JavaScript, specifically in versions through 1.7.6. This vulnerability allows an attacker to inject malicious JavaScript into Markdown content. When the injected content is viewed by another user, the script executes within their session context. The issue arises from inadequate sanitization of certain HTML attributes or event handlers during the Markdown rendering process.

Impact

Exploitation of this vulnerability allows for stored cross-site scripting, where injected scripts are executed in the context of the user viewing the content.

Reproduction

To reproduce this vulnerability, create a note and inject a Markdown link that includes a JavaScript URI, such as `javascript:alert('XSS')`. Once the note is saved, the JavaScript will execute when the link is clicked.

Remediation

Users are advised to update to Lute version 1.7.7 or later, where this vulnerability has been patched.

Added: Feb 6, 2026, 7:18 PM
Updated: Feb 6, 2026, 11:55 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
6.2
remediation
0.0
relevance
2.6
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.