Vulnerability Description
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`.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/wagtail/wagtail/commit/284f75a6f91f7ab18cc304d7d34f33b559ae37
- https://github.com/wagtail/wagtail/security/advisories/GHSA-xxfm-vmcf-g33f
- https://github.com/wagtail/wagtail/commit/284f75a6f91f7ab18cc304d7d34f33b559ae37
- https://github.com/wagtail/wagtail/security/advisories/GHSA-xxfm-vmcf-g33f
FAQ
What is CVE-2024-35228?
CVE-2024-35228 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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...
How severe is CVE-2024-35228?
CVE-2024-35228 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-35228?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.