CVE-2024-35228

Improper Handling of Insufficient Permissions in Wagtail

State
Published
Severity
5.5 Medium
Published
May 30, 2024
Updated
Aug 2, 2024
Reserved
May 14, 2024

Read the record on cve.org

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`.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:NGitHub_M

Weaknesses

  • CWE-280 Improper Handling of Insufficient Permissions or Privileges

Affected Products

ProductVersions
wagtailwagtail
  • >= 6.0.0, < 6.0.5Affected
  • >= 6.1.0, < 6.1.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.