CVE-2026-45106: Weblate Stored HTML Injection Vulnerability
MODERATECVE-2026-45106 is a MODERATE (CVSS 4.6) stored html injection vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Weblate libraries in the PyPI ecosystem. The issue involves stored html injection in editor search preview. Remediation is available by upgrading affected packages to version 2026.5.
CVE-2026-45106 at a Glance
Security Impact
CVSS: 4.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N).
How to Fix CVE-2026-45106
To remediate this vulnerability, upgrade all affected Weblate dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install weblate>=2026.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show weblate
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-45106, inspect your installed packages using pip:
pip show weblate
Analyze the terminal output to locate any version of Weblate in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2026.5), your application is affected.
Note: The pip show weblate command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Weblate, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-45106 Affected Weblate Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
weblate
|
PyPI |
< 2026.5
|
2026.5
|
References
Frequently Asked Questions
What is CVE-2026-45106?
Which Weblate versions are affected?
What version fixes CVE-2026-45106?
Is weblate affected?
What is the CVSS score of CVE-2026-45106?
What CWE is associated with CVE-2026-45106?
How can I check PyPI dependencies for CVE-2026-45106?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6wxc-8mgq-w26m",
"modified" : "2026-06-11T13:30:15Z",
"published" : "2026-05-15T17:14:37Z",
"aliases" : [ "CVE-2026-45106" ],
"summary" : "Weblate: Stored HTML injection in editor search preview",
"details" : "### Impact\nWeblate'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.\n\n### Patches\n* https://github.com/WeblateOrg/weblate/pull/19422\n\n### Workarounds\nOnly the search preview on the selected views is affected.\n\n### Resources\nWeblate thanks @adrgs for reporting this issue responsibly via GitHub.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "weblate"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2026.5"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/WeblateOrg/weblate/security/advisories/GHSA-6wxc-8mgq-w26m"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-45106"
}, {
"type" : "WEB",
"url" : "https://github.com/WeblateOrg/weblate/pull/19422"
}, {
"type" : "WEB",
"url" : "https://github.com/WeblateOrg/weblate/commit/8b0adf1d0b43dfc0d09da4b878857b2288b84f2d"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/WeblateOrg/weblate"
}, {
"type" : "WEB",
"url" : "https://github.com/WeblateOrg/weblate/releases/tag/weblate-2026.5"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-15T17:14:37Z",
"nvd_published_at" : "2026-06-10T20:17:27Z"
}
}