CVE-2026-45106: Weblate Stored HTML Injection Vulnerability

MODERATE
Advisory Identifier: GHSA-6wxc-8mgq-w26m
CVSS 4.6
CWE-79
Published
Advisory Summary

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

CVE Identifier CVE-2026-45106
GHSA Identifier GHSA-6wxc-8mgq-w26m
Severity MODERATE
CVSS v3.1 Base Score 4.6
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Weblate
Package Ecosystem PyPI
Published Date
Last Updated

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

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (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.

weblate fixed: 2026.5
pip install weblate>=2026.5
Verify Direct and Transitive Dependencies

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

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

CVE-2026-45106 Affected Weblate Versions

1 component(s)
Fixed Versions:
2026.5
Product / Package Ecosystem Affected Versions Fixed Version
weblate
PyPI
< 2026.5
2026.5

References

Frequently Asked Questions

What is CVE-2026-45106?
CVE-2026-45106 is a security vulnerability in Weblate involving Stored HTML injection in editor search preview under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Weblate versions are affected?
Affected versions include releases prior to 2026.5 across affected packages: weblate.
What version fixes CVE-2026-45106?
Upgrading to 2026.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is weblate affected?
Yes, weblate is affected in releases prior to 2026.5. Upgrade your dependency to 2026.5 or later.
What is the CVSS score of CVE-2026-45106?
CVE-2026-45106 has a CVSS v3.1 base score of 4.6 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2026-45106?
CVE-2026-45106 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (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.).
How can I check PyPI dependencies for CVE-2026-45106?
Run the dependency tree command: 'pip show weblate'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}