Advisory

PYSEC-2026-3415

Also known as: CVE-2026-45106, GHSA-6wxc-8mgq-w26m

Summary

Weblate: Stored HTML injection in editor search preview

Details

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.

Severity

Medium Basis: CVSS v3 score 4.6, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

Dates

Published
2026-07-13 15:19 UTC
Modified
2026-07-13 16:32 UTC

Affected packages and fixes

weblate

PyPI · All systems

Affected

  • introduced 0, fixed 2026.5 (ecosystem)

Fixed versions

2026.5

Fix

  • Fixed version 2026.5
    pip install --upgrade weblate==2026.5

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences