{"id":"CVE-2024-35228","published":"2024-05-30T18:44:31Z","modified":"2024-08-02T03:07:46Z","title":"Improper Handling of Insufficient Permissions in Wagtail","vendor":"wagtail","product":"wagtail","tier":"tail","description":{"text":"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`.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00332,"percentile":0.27129,"provenance":"source"},"cwes":[{"id":"CWE-280","name":"Improper Handling of Insufficient Permissions or Privileges"}],"references":[{"url":"https://github.com/wagtail/wagtail/security/advisories/GHSA-xxfm-vmcf-g33f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/wagtail/wagtail/commit/284f75a6f91f7ab18cc304d7d34f33b559ae37b1","tags":["x_refsource_MISC"]}],"priority":{"score":9.3,"factors":[{"name":"EPSS percentile","points":5.43},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"wagtail","affectedVersions":[{"vendor":"wagtail","product":"wagtail","versions":[">= 6.0.0, < 6.0.5",">= 6.1.0, < 6.1.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-31T16:19:13.143754Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"wagtail","vulnerableRanges":[">=6.0.0, <6.0.5",">=6.1.0, <6.1.2"],"patched":["6.0.5","6.1.2"],"from":["GHSA-xxfm-vmcf-g33f","PYSEC-2026-2032"],"provenance":"source"}],"summary":{"text":"The flaw is an improperly applied permission check in the settings module (wagtail.contrib.settings) of Wagtail, an open source Django-based content management system. An attacker can access and update a settings model they were never granted permission over, provided they already have access to the Wagtail admin and know the URL of that model's edit view; an ordinary site visitor without admin access cannot exploit it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:08:43Z"},"euvd":{"id":"EUVD-2024-2218","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-wagtail-cve-2024-32882","children":[{"from":"CVE-2024-35228","to":"CVE-2026-25517","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["wagtail/contrib/settings/views.py"],"commits":["https://github.com/wagtail/wagtail/commit/284f75a6f91f7ab18cc304d7d34f33b559ae37b1","https://github.com/wagtail/wagtail/commit/01fd3477365a193e6a8270311defb76e890d2719","https://github.com/wagtail/wagtail/commit/5f09b6da61e779b0e8499bdbba52bf2f7bd3241f"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2023-28837","published":"2023-04-03","fixed":"4.2.2","kev":false},{"cve":"CVE-2023-45809","published":"2023-10-19","fixed":"5.1.3","kev":false},{"cve":"CVE-2024-32882","published":"2024-05-02","fixed":"6.0.3","kev":false,"link":{"from":"CVE-2024-32882","to":"CVE-2024-35228","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:wagtail","fromFixed":"6.0.3","toFixed":"6.0.5","daysApart":28},{"kind":"similar","provenance":"machine","score":0.62,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2024-35228","published":"2024-05-30","fixed":"6.1.2","kev":false},{"cve":"CVE-2024-39317","published":"2024-07-11","fixed":"6.1.3","kev":false,"link":{"from":"CVE-2024-35228","to":"CVE-2024-39317","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:wagtail","fromFixed":"6.0.5","toFixed":"6.0.6","daysApart":42}]}},{"cve":"CVE-2026-25517","published":"2026-02-04","fixed":"7.3","kev":false},{"cve":"CVE-2026-28222","published":"2026-03-05","fixed":"7.3.1","kev":false}],"package":"PyPI:wagtail"}}