Weblate vulnerable to XSS via crafted Markdown
Moderate severity
GitHub Reviewed
Published
Apr 30, 2026
in
WeblateOrg/weblate
•
Updated May 7, 2026
Description
Published to the GitHub Advisory Database
May 7, 2026
Reviewed
May 7, 2026
Last updated
May 7, 2026
Impact
The Markdown renderer used in user comments and other user-provided content didn't properly sanitize some attributes.
Patches
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.
References