Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-17EFBE19-4E72-426A-8016-2B4E001C1378 (CVE-2023-28836): py-wagtail -- stored XSS vulnerability

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

FreeBSD: VID-17EFBE19-4E72-426A-8016-2B4E001C1378 (CVE-2023-28836): py-wagtail -- stored XSS vulnerability



Wagtail is an open source content management system built on Django. Starting in version 1.5 and prior to versions 4.1.4 and 4.2.2, a stored cross-site scripting (XSS) vulnerability exists on ModelAdmin views within the Wagtail admin interface. A user with a limited-permission editor account for the Wagtail admin could potentially craft pages and documents that, when viewed by a user with higher privileges, could perform actions with that user's credentials. The vulnerability is not exploitable by an ordinary site visitor without access to the Wagtail admin, and only affects sites with ModelAdmin enabled. For page, the vulnerability is in the "Choose a parent page" ModelAdmin view (`ChooseParentView`), available when managing pages via ModelAdmin. For documents, the vulnerability is in the ModelAdmin Inspect view (`InspectView`) when displaying document fields. Patched versions have been released as Wagtail 4.1.4 and Wagtail 4.2.2. Site owners who are unable to upgrade to the new versions can disable or override the corresponding functionality.


  • freebsd-upgrade-package-py310-wagtail
  • freebsd-upgrade-package-py311-wagtail
  • freebsd-upgrade-package-py37-wagtail
  • freebsd-upgrade-package-py38-wagtail
  • freebsd-upgrade-package-py39-wagtail

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center