Skip to main content

Weblate EUVDEUVD-2026-28388

| CVE-2026-44264 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-07 https://github.com/WeblateOrg/weblate GHSA-5cmv-3rc4-7279
4.3
CVSS 3.1 · Vendor: https://github.com/WeblateOrg/weblate
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Weblate
  2. Delivery
    Submit Markdown comment with crafted image URL containing quotes and onerror attribute
  3. Exploit
    Weblate Markdown renderer fails to escape attributes
  4. Execution
    Malicious HTML rendered with unescaped event handler
  5. Persist
    JavaScript executes if CSP permits
  6. Impact
    Attacker exfiltrates session data or performs actions as victim

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the following SPECIFIC conditions: (1) The attacker must be an authenticated Weblate user with permission to create or edit comments or other Markdown-rendered user-provided content; (2) The Markdown renderer must process image syntax with unescaped attributes (affects versions before 5.17.1); (3) The target victim must view or access the page containing the malicious Markdown content; (4) The victim's browser must not enforce or must allow bypass of the application's Content Security Policy (CSP). Notably, unauthenticated remote exploitation is NOT possible due to the PR:L (Privilege Level: Low) requirement in the CVSS vector. Exploitation is limited to users with legitimate Weblate accounts. The strict CSP acts as a limiting factor for actual impact - even if attribute injection succeeds, CSP should block inline script execution.

Impact

This vulnerability presents LOW to MODERATE real-world risk despite a CVSS score of 4.3. The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N) correctly identifies network accessibility and low complexity, but critically requires authenticated privileges (PR:L), limiting the attack surface to users with legitimate Weblate accounts. The Integrity impact is Low (I:L) because XSS injection is possible but confined to the rendered HTML context. The vendor explicitly notes that Weblate's strict Content Security Policy acts as a secondary control that substantially mitigates exploitation of injected JavaScript payloads, meaning even if an attacker injects malicious attributes, the CSP will likely block execution. No public exploit code or active exploitation has been reported. The attack requires precise Markdown crafting (as shown in test cases: URLs with embedded quotes and event handlers), and the XSS payload must bypass CSP to have impact. This is a POST-AUTHENTICATION vulnerability with mitigating controls already in place, making it lower priority than network-accessible unauthenticated XSS. However, organizations with stringent insider-threat policies or those hosting Weblate for untrusted user bases should prioritize patching.

Exploit ScenarioDerived

An authenticated Weblate user with permission to post comments submits a Markdown image with a crafted URL containing an embedded quote and event handler, such as ![title](<https://example.com/" onerror="alert(document.cookie)>). The Markdown renderer converts this to an HTML img tag with an unescaped onerror attribute. If CSP is not properly configured or if the CSP allows inline event handlers, the injected JavaScript executes in the victim's browser session when the comment is rendered, potentially stealing session cookies or performing actions on behalf of the victim.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 07, 2026

Cross-site scripting (XSS) via improper Markdown attribute sanitization in Weblate allows authenticated users to inject malicious HTML attributes through crafted Markdown in user comments and other user-provided content. The vulnerability affects Weblate versions prior to 5.17.1 and can be exploited by any authenticated user with the ability to submit Markdown content; however, the application's strict Content Security Policy (CSP) significantly mitigates actual exploitation risk. Vendor-released patch version 5.17.1 is available.

RemediationAI

Apply the vendor-released patch by upgrading Weblate to version 5.17.1 or later. The patch escapes Markdown image URLs and title attributes before rendering, preventing attribute injection. Upgrade instructions are available at https://github.com/WeblateOrg/weblate/pull/19259 and https://github.com/WeblateOrg/weblate/commit/85abc9df88b7464f4c0e794aef752e45f4230f75. As a temporary workaround pending patching, rely on the existing strict Content Security Policy (CSP) configuration to prevent execution of injected JavaScript; verify that CSP headers are properly configured and enforce 'script-src' restrictions. Additionally, restrict the ability to submit Markdown content to trusted users only if operationally feasible, and monitor user comments for suspicious Markdown syntax containing quotes or event handler attributes.

Affected VersionsENISA

weblate < 5.17.1

Affected Packages

pypi weblate fix: 5.17.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Weblate uses a Markdown renderer to process user-provided content in comments and other fields. The vulnerability stems from improper escaping of attributes in Markdown image tokens, specifically the image URL and title attributes. The root cause (CWE-79: Improper Neutralization of Input During Web Page Generation) occurs because the Markdown parser was not properly escaping special characters in URLs and title attributes before embedding them into HTML. The patch introduces explicit HTML escaping using Python's html.escape() function and proper URL encoding to prevent attribute injection attacks. The vulnerable code path involves the render_image() method in weblate/utils/markdown.py, which now properly escapes the title attribute and validates URLs before rendering.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/WeblateOrg/weblate) PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
SUSE MEDIUM

Primary rating from Vendor (https://github.com/WeblateOrg/weblate).

CVSS VectorVendor: https://github.com/WeblateOrg/weblate

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

DescriptionCVE.org

Impact

The Markdown renderer used in user comments and other user-provided content didn't properly sanitize some attributes.

Patches

  • https://github.com/WeblateOrg/weblate/pull/19259

Workarounds

Even though the attacker might be able to inject code into the HTML, the Weblate's strict CSP should mitigate the risks.

Acknowlegement

Michal Čihař has identified and fixed this vulnerability.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Related Vulnerabilities in Weblate API and Rendering Vulnerabilities

View all 2

Vendor StatusVendor

SUSE

Severity: Medium

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy