Vulnerability · Published Mar 5, 2026 · Assigned by GitHub_M
CVE-2026-28223Wagtail: Improper escaping of HTML (Cross-site Scripting) in simple_translation admin interface
Medium 6.1
In plain English
A medium-severity cross-site scripting in wagtail from wagtail. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Wagtail 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | wagtail | 6.3.8 | GHSA-p4v8-rw59-93cq |
| PyPI | wagtail | 7.0.6 | GHSA-p4v8-rw59-93cq |
| PyPI | wagtail | 7.2.3 | GHSA-p4v8-rw59-93cq |
| PyPI | wagtail | 7.3.1 | GHSA-p4v8-rw59-93cq |
| PyPI | wagtail | 6.3.8, 7.0.6, 7.2.3 | PYSEC-2026-2308 |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N
References
- https://github.com/wagtail/wagtail/security/advisories/GHSA-p4v8-rw59-93cq x_refsource_CONFIRM
- https://github.com/wagtail/wagtail/commit/1c6f2effed68f4ccad6fbd07987e03641505f863 x_refsource_MISC
- https://github.com/wagtail/wagtail/commit/ba70244d376a7b1bd180ded03e827917ff410c19 x_refsource_MISC
- https://github.com/wagtail/wagtail/commit/d8c5900982df8ed5938ad993aa9ff69cda50f80c x_refsource_MISC
- https://github.com/wagtail/wagtail/commit/ee39d39deeb7f250fe886417b24802d7e05b1143 x_refsource_MISC
- https://github.com/wagtail/wagtail/releases/tag/v6.3.8 x_refsource_MISC
- https://github.com/wagtail/wagtail/releases/tag/v7.0.6 x_refsource_MISC
- https://github.com/wagtail/wagtail/releases/tag/v7.2.3 x_refsource_MISC
- https://github.com/wagtail/wagtail/releases/tag/v7.3.1 x_refsource_MISC