VDB
Sign up
MEDIUM4.6

PYSEC-2026-3415

Weblate: Stored HTML injection in editor search preview

Quick fix

PYSEC-2026-3415 — weblate: upgrade to the fixed version with the command below.

pip install --upgrade 'weblate>=2026.5'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/weblate
Introduced in: 0Fixed in: 2026.5
Fixpip install --upgrade 'weblate>=2026.5'

References