CVE-2024-35228wagtail
Medium 5.5
Follow: this CVE · wagtail · wagtail We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.5
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 41
- Auth required
- Yes
- Published
- May 30, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-280
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:N
What happens
Wagtail is an open source content management system built on Django. Due to an improperly applied permission check in the `wagtail.contrib.settings` module, a user with access to the Wagtail admin and knowledge of the URL of the edit view for a settings model can access and update that setting, even when they have not been granted permission over the model. The vulnerability is not exploitable by an ordinary site visitor without access to the Wagtail admin. Patched versions have been released as Wagtail 6.0.5 and 6.1.2. Wagtail releases prior to 6.0 are unaffected. Users are advised to upgrade. Site owners who are unable to upgrade to a patched version can avoid the vulnerability in `ModelViewSet` by registering the model as a snippet instead. No workaround is available for `wagtail.contrib.settings`.
What to do
- Apply the vendor's security update for wagtail.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | wagtail |
≥ 6.0.0 < 6.0.5 |
6.0.5 |
pip install "wagtail>=6.0.5" |
| PyPI | wagtail |
≥ 6.1.0 < 6.1.2 |
6.1.2 |
pip install "wagtail>=6.1.2" |
| PyPI | wagtail |
≥ 6.0.0 < 6.0.5 |
6.0.5 |
pip install "wagtail>=6.0.5" |
| PyPI | wagtail |
≥ 6.1.0 < 6.1.2 |
6.1.2 |
pip install "wagtail>=6.1.2" |
Per OSV / GitHub Advisories (GHSA-xxfm-vmcf-g33f, PYSEC-2026-2032). Check the version in your lockfile before upgrading.
Affected products
- wagtail · wagtail
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.