Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain contributor account
-
DeliverySubmit translation unit with HTML/JS payload in source/context field
-
ExploitPayload persists in Weblate database
-
InstallVictim user performs matching search
-
C2Search preview renders payload as HTML
-
ExecuteMalicious script executes in victim session
-
ImpactSteal cookies or perform unauthorized actions
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 | Attacker must possess authenticated contributor access to a Weblate project, enabling them to submit or modify translation units (source and context fields). Victim must be an authenticated Weblate user who performs a search query that matches the attacker's poisoned translation unit, causing the live search preview feature to render the malicious HTML. The vulnerability affects only the search preview interface within the authenticated translation editor, not public-facing pages. Exploitation is limited to the specific views where live search preview is enabled (typically the translation editor workspace). No special Weblate configuration or non-default settings are required - default installations with contributor access and search functionality enabled are vulnerable. The PR:L (low privilege) in the CVSS vector confirms contributors, not just administrators, can inject payloads. The UI:R (required user interaction) indicates automatic exploitation is not possible; the victim must actively trigger a search. The S:U (unchanged scope) means the XSS cannot break out of the Weblate origin context due to browser same-origin policy. |
| Impact | Real-world risk is moderate and contained. CVSS vector AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N correctly captures the attack surface: network-accessible but requires authenticated contributor privileges and victim user interaction (performing a search). The 'U' scope means the malicious script runs in the victim's browser context but cannot escape Weblate's origin due to same-origin policy. The impact is limited to low confidentiality and integrity (session hijacking, CSRF token theft, or unauthorized actions within Weblate). No EPSS, KEV, or public exploit data is provided in the intelligence, suggesting this is a responsibly disclosed vulnerability without active exploitation at time of analysis. The attack requires the victim to specifically search for a term matching the attacker's poisoned translation unit, significantly reducing likelihood compared to reflected XSS. SSVC factors: Exploitation=POC (patch available publicly reveals the bug); Automatable=No (requires social engineering to make victim search); Technical Impact=Partial (limited to Weblate session context). This is a valid security issue requiring patching but not an emergency unless your Weblate instance has untrusted contributors and handles sensitive data. The vendor's clear advisory and same-day patch release demonstrate good security posture. |
| Exploit ScenarioDerived | An authenticated contributor with translation rights submits a malicious translation unit containing JavaScript in the source or context field, such as '<img src=x onerror=alert(document.cookie)>' or CSS exfiltration via background-image URLs. When a privileged user (project admin or another translator) later searches for a term matching that unit, the live search preview renders the attacker's payload as active HTML. The JavaScript executes in the victim's authenticated session, allowing the attacker to steal session cookies, perform actions as the victim (approve translations, change settings), or exfiltrate sensitive translation content. GitHub PR 19422 confirms the vulnerability and demonstrates the unsafe rendering path through jQuery .html() calls in weblate/static/editor/full.js and search.js. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 15, 2026
Stored cross-site scripting (XSS) in Weblate allows authenticated contributors to inject HTML and CSS into the live search preview feature, which executes in the browsers of all authenticated users who perform matching searches. The vulnerability stems from improper output escaping of unit source and context fields in the search preview interface. Vendor-released patch available in version 2026.5, confirmed via GitHub advisory GHSA-6wxc-8mgq-w26m and commit 8b0adf1d0b43. CVSS score of 4.6 (Medium) reflects the requirement for low-privilege authentication and user interaction, limiting exploitation scope compared to unauthenticated XSS.
RemediationAI
Upgrade to Weblate version 2026.5 or later, released 2026-05-XX per GitHub tag weblate-2026.5 (https://github.com/WeblateOrg/weblate/releases/tag/weblate-2026.5). The patch commit 8b0adf1d0b43dfc0d09da4b878857b2288b84f2d replaces unsafe jQuery .html() and string concatenation with safe DOM methods (document.createTextNode, .textContent) that automatically escape HTML entities in search preview rendering. If immediate upgrade is not possible, the vendor states only the search preview on specific views is affected, suggesting a temporary workaround of restricting contributor access or disabling live search preview via custom frontend modifications, though this is not officially documented and would require code changes to weblate/static/editor/tools/search.js. Organizations should prioritize patching over workarounds given the availability of a clean vendor fix. Post-upgrade, review contributor accounts for suspicious translation unit submissions containing script tags or event handlers in source/context fields, though the XSS only activates on search so historical exploitation evidence may be difficult to surface in logs.
Affected VersionsENISA
Affected Packages
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 is a web-based continuous localization platform built on Python (pip package). This vulnerability is a classic stored XSS (CWE-79) where user-supplied data in translation unit 'source' and 'context' fields is rendered in the search preview DOM without HTML entity encoding. The affected component is the client-side JavaScript search preview feature in the authenticated translation editor. When translators search for content, the application dynamically renders matching translation units in a preview pane. The GitHub PR 19422 shows the fix migrated from unsafe jQuery .html() and string concatenation to safe DOM methods like document.createTextNode() and .textContent, which automatically escape HTML entities. The patch also adds URL validation through WLT.URLs.getHttpUrl() to prevent javascript: and data: URI injection in origin links. This is a content sanitization failure at the presentation layer rather than input validation at ingestion, meaning malicious payloads can persist in the database until search triggers 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
AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Primary rating from Vendor (https://github.com/WeblateOrg/weblate).
CVSS VectorVendor: https://github.com/WeblateOrg/weblate
DescriptionCVE.org
Impact
Weblate's live search preview renders unit source and context as HTML without escaping. Any contributor whose content reaches those fields stores HTML and CSS that runs inside the authenticated editor of every user who runs a matching search.
Patches
- https://github.com/WeblateOrg/weblate/pull/19422
Workarounds
Only the search preview on the selected views is affected.
Resources
Weblate thanks @adrgs for reporting this issue responsibly via GitHub.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-36114
GHSA-6wxc-8mgq-w26m
NVD
CVE.org
EPSS
VulDB
Exploit-DB