ADVISORIES

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

EcosystemPackageAffected versions
PyPIweblate
All versions before 5.17.1 (fixed in 5.17.1)

References