GitHub Advisory Database
GHSA-jm5p-837g-rv8g
Wagtail: Improper restriction handling on Page translation API endpoint
Details
Impact
A CMS user with the "submit translations" permission, could use the Admin API's "copy for translation" endpoint to copy an existing page that they do not have edit 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.1rc1 before 7.3.4 (fixed in 7.3.4) |
| PyPI | wagtail | From 7.4rc1 before 7.4.3 (fixed in 7.4.3) |
| PyPI | wagtail | From 8.0rc1 before 8.0rc2 (fixed in 8.0rc2) |
References
- https://github.com/wagtail/wagtail/security/advisories/GHSA-jm5p-837g-rv8g
- https://github.com/wagtail/wagtail
- https://github.com/wagtail/wagtail/releases/tag/v7.0.9
- https://github.com/wagtail/wagtail/releases/tag/v7.3.4
- https://github.com/wagtail/wagtail/releases/tag/v7.4.3
- https://github.com/wagtail/wagtail/releases/tag/v8.0rc2