Skip to main content

Weblate CVE-2026-45106

| EUVDEUVD-2026-36114 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-15 https://github.com/WeblateOrg/weblate GHSA-6wxc-8mgq-w26m
4.6
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. Recon
    Obtain contributor account
  2. Delivery
    Submit translation unit with HTML/JS payload in source/context field
  3. Exploit
    Payload persists in Weblate database
  4. Install
    Victim user performs matching search
  5. C2
    Search preview renders payload as HTML
  6. Execute
    Malicious script executes in victim session
  7. Impact
    Steal 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.

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 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

weblate < 2026.5

Affected Packages

pypi weblate fix: 2026.5

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

Vendor (https://github.com/WeblateOrg/weblate) PRIMARY 4.6 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:U/C:L/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
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

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

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

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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

23
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +23
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.

Vendor StatusVendor

SUSE

Severity: Moderate

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