GitHub Advisory Database
GHSA-x5cx-w6p2-mxf2
Wagtail: Improper permission handling when copying snippets
Details
Impact
A CMS user with "add" permission over a snippet model, but not "change" or "view" permission, could copy an existing snippet that they do not have access to, allowing them to view its contents.
Patches
Patched versions have been released as Wagtail 7.0.9, 7.3.4, 7.4.3 and 8.0rc2.
Workarounds
N/A
Acknowledgements
Many thanks to tinyb0y for reporting this issue.
For more information
If you have any questions or comments about this advisory:
- Visit Wagtail's support channels
- Email us at [[email protected]](mailto:[email protected]) (view our security policy for more information).
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | wagtail | All versions before 7.0.9 (fixed in 7.0.9) |
| PyPI | wagtail | From 7.1 before 7.3.4 (fixed in 7.3.4) |
| PyPI | wagtail | From 7.4 before 7.4.3 (fixed in 7.4.3) |
| PyPI | wagtail | From 8.0rc1 before 8.0rc2 (fixed in 8.0rc2) |