CVE-2023-28836Torchbox Wagtail
Medium 5.4
Follow: this CVE · Torchbox · Torchbox Wagtail We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 55
- Auth required
- Yes
- Published
- Apr 3, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
Wagtail is an open source content management system built on Django. Starting in version 1.5 and prior to versions 4.1.4 and 4.2.2, a stored cross-site scripting (XSS) vulnerability exists on ModelAdmin views within the Wagtail admin interface. A user with a limited-permission editor account for the Wagtail admin could potentially craft pages and documents that, when viewed by a user with higher privileges, could perform actions with that user's credentials. The vulnerability is not exploitable by an ordinary site visitor without access to the Wagtail admin, and only affects sites with ModelAdmin enabled. For page, the vulnerability is in the "Choose a parent page" ModelAdmin view (`ChooseParentView`), available when managing pages via ModelAdmin. For documents, the vulnerability is in the ModelAdmin Inspect view (`InspectView`) when displaying document fields. Patched versions have been released as Wagtail 4.1.4 and Wagtail 4.2.2. Site owners who are unable to upgrade to the new versions can disable or override the corresponding functionality.
What to do
- Apply the vendor's security update for Wagtail.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | wagtail |
≥ 1.5 < 4.1.4 |
4.1.4 |
pip install "wagtail>=4.1.4" |
| PyPI | wagtail |
≥ 4.2 < 4.2.2 |
4.2.2 |
pip install "wagtail>=4.2.2" |
| PyPI | wagtail |
≥ 1.5 < 4.1.4 |
4.1.4 |
pip install "wagtail>=4.1.4" |
| PyPI | wagtail |
≥ 4.2 < 4.2.2 |
4.2.2 |
pip install "wagtail>=4.2.2" |
Per OSV / GitHub Advisories (GHSA-5286-f2rf-35c2, PYSEC-2023-55). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| torchbox | wagtail | ≥ 1.5 < 4.1.4 |
| torchbox | wagtail | ≥ 4.2 < 4.2.2 |
Official sources
References
Links published by the sources. Open them with care.
- docs.wagtail.org Product
- docs.wagtail.org Product
- github.com Patch
- github.com Release Notes
- github.com Release Notes
- github.com Patch
- github.com Release Notes
- github.com Mitigation Vendor Advisory