# Wagtail 7.0.4 release notes _February 3, 2026_ ```{contents} --- local: depth: 1 --- ``` ## What's new ### CVE-2026-25517: Improper permission handling on admin preview endpoints This release addresses a permission vulnerability in the Wagtail admin interface. Due to a missing permission check on the preview endpoints, a user with access to the Wagtail admin and knowledge of a model's fields can craft a form submission to obtain a preview rendering of any page or snippet object for which previews are enabled, consisting of any data of the user's choosing. The existing data of the object itself is not exposed, but depending on the nature of the template being rendered, this may expose other database contents that would otherwise only be accessible to users with edit access over the model. The vulnerability is not exploitable by an ordinary site visitor without access to the Wagtail admin. ### Bug fixes * Prevent error on custom generic create and edit views without a header icon (Sage Abdullah)