p PatchFirst

CVE-2024-35228

CVE-2024-35228 · Improper Handling of Insufficient Permissions in Wagtail

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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`.

CVSS 5.5 · Medium · EPSS 0.3% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • wagtail

    Versions
    • >= 6.0.0, < 6.0.5: Affected
    • >= 6.1.0, < 6.1.2: Affected

    No fix published

  • wagtail PyPI

    Versions
    • 6.0
    • 6.0.1
    • 6.0.2
    • 6.0.3
    • 6.0.4
    Affected ranges
    • ECOSYSTEM: ≥ 6.0.0, < 6.0.5

    Update to 6.0.5

  • wagtail PyPI

    Versions
    • 6.1
    • 6.1.1
    Affected ranges
    • ECOSYSTEM: ≥ 6.1.0, < 6.1.2

    Update to 6.1.2

  • wagtail PyPI

    Versions
    • 6.0
    • 6.0.1
    • 6.0.2
    • 6.0.3
    • 6.0.4
    • 6.1
    • 6.1.1
    Affected ranges
    • ECOSYSTEM: ≥ 6.0.0, < 6.0.5 ∪ ≥ 6.1.0, < 6.1.2

    Update to 6.0.5; Update to 6.1.2

Original sources

Check your server →