Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. wagtail
  4. ›
  5. CVE-2024-35228

CVE-2024-35228: Improper Handling of Insufficient Permissions in `wagtail.contrib.settings`

June 2, 2024

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.

References

  • github.com/advisories/GHSA-xxfm-vmcf-g33f
  • github.com/wagtail/wagtail
  • github.com/wagtail/wagtail/commit/284f75a6f91f7ab18cc304d7d34f33b559ae37b1
  • github.com/wagtail/wagtail/security/advisories/GHSA-xxfm-vmcf-g33f
  • nvd.nist.gov/vuln/detail/CVE-2024-35228

Code Behaviors & Features

Detect and mitigate CVE-2024-35228 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 6.0.0 before 6.0.5, all versions starting from 6.1.0 before 6.1.2

Fixed versions

  • 6.0.5
  • 6.1.2

Solution

Upgrade to versions 6.0.5, 6.1.2 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-280: Improper Handling of Insufficient Permissions or Privileges

Source file

pypi/wagtail/CVE-2024-35228.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:48 +0000.