How to fix?
Upgrade wagtail to version 6.0.5, 6.1.2 or higher.
Overview
wagtail is an open source content management system built on Django.
Affected versions of this package are vulnerable to Improper Handling of Insufficient Permissions or Privileges in the wagtail.contrib.settings module. An attacker with access to the admin and knowledge of the URL of the edit view for a settings model can modify settings without proper permissions.
Workaround
This vulnerability can be mitigated in ModelViewSet by registering the model as a snippet instead. No workaround is available for wagtail.contrib.settings.
Affecting wagtail package, versions [,6.0.5) [6.1rc1,6.1.2)
How to fix? Upgrade wagtail to version 6.0.5, 6.1.2 or higher.
Overview wagtail is an open source content management system built on Django.
Affected versions of this package are vulnerable to Improper Handling of Insufficient Permissions or Privileges in the wagtail.contrib.settings module. An attacker with access to the admin and knowledge of the URL of the edit view for a settings model can modify settings without proper permissions.
Workaround This vulnerability can be mitigated in ModelViewSet by registering the model as a snippet instead. No workaround is available for wagtail.contrib.settings.
References GitHub Commit
Completion Criteria