Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-2DEF7C4B-736F-4754-9F03-236FCB586D91 (CVE-2023-28837): py-wagtail -- DoS vulnerability

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

FreeBSD: VID-2DEF7C4B-736F-4754-9F03-236FCB586D91 (CVE-2023-28837): py-wagtail -- DoS vulnerability



Wagtail is an open source content management system built on Django. Prior to versions 4.1.4 and 4.2.2, a memory exhaustion bug exists in Wagtail's handling of uploaded images and documents. For both images and documents, files are loaded into memory during upload for additional processing. A user with access to upload images or documents through the Wagtail admin interface could upload a file so large that it results in a crash of denial of service. The vulnerability is not exploitable by an ordinary site visitor without access to the Wagtail admin. It can only be exploited by admin users with permission to upload images or documents. Image uploads are restricted to 10MB by default, however this validation only happens on the frontend and on the backend after the vulnerable code. 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 are encouraged to add extra protections outside of Wagtail to limit the size of uploaded files.


  • 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