GitHub Advisory Database
GHSA-5cmv-3rc4-7279
Weblate vulnerable to XSS via crafted Markdown
Details
Impact
The Markdown renderer used in user comments and other user-provided content didn't properly sanitize some attributes.
Patches
- https://github.com/WeblateOrg/weblate/pull/19259
Workarounds
Even though the attacker might be able to inject code into the HTML, the Weblate's strict CSP should mitigate the risks.
Acknowlegement
Michal Čihař has identified and fixed this vulnerability.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | weblate | All versions before 5.17.1 (fixed in 5.17.1) |
References
- https://github.com/WeblateOrg/weblate/security/advisories/GHSA-5cmv-3rc4-7279
- https://nvd.nist.gov/vuln/detail/CVE-2026-44264
- https://github.com/WeblateOrg/weblate/pull/19259
- https://github.com/WeblateOrg/weblate/commit/85abc9df88b7464f4c0e794aef752e45f4230f75
- https://github.com/WeblateOrg/weblate
- https://github.com/WeblateOrg/weblate/releases/tag/weblate-5.17.1