Wagtail: Improper escaping of HTML (Cross-site Scripting) in simple_translation admin interface
wagtail
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| wagtail PyPI |
|
|
wagtail
| Product | Affected | Fixed in |
|---|---|---|
| wagtail PyPI |
|
|
7.3.1Wagtail is an open source content management system built on Django. Prior to versions 6.3.8, 7.0.6, 7.2.3, and 7.3.1, a stored cross-site scripting (XSS) vulnerability exists on confirmation messages within the wagtail.contrib.simple_translation module. A user with access to the Wagtail admin area may create a page with a specially-crafted title which, when another user performs the "Translate" action, causes arbitrary JavaScript code to run. This could lead to performing actions with that user's credentials. The vulnerability is not exploitable by an ordinary site visitor without access to the Wagtail admin. This issue has been patched in versions 6.3.8, 7.0.6, 7.2.3, and 7.3.1.
From the CVE record · GitHub_M
Wagtail's simple translation confirmation messages are vulnerable to stored cross-site scripting. A user with Wagtail admin access can create a page with a crafted title that runs arbitrary JavaScript when another user selects Translate, potentially performing actions with that user's credentials. Ordinary site visitors without admin access cannot exploit this issue.
Teams running the PyPI wagtail package on versions before 6.3.8, from 6.4rc1 to before 7.0.6, from 7.1rc1 to before 7.2.3, or from 7.3rc1 to before 7.3.1 should check their installations.