{"cve":"CVE-2023-28837","nvd":{"published":"2023-04-03T17:15:07.030","modified":"2026-06-17T05:48:52.887","status":"Modified","description":"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.\n\nThe 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.\n\nImage uploads are restricted to 10MB by default, however this validation only happens on the frontend and on the backend after the vulnerable code. \n\nPatched 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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","score":4.9},"cwes":["CWE-400","CWE-770"],"references":["https://docs.wagtail.org/en/stable/reference/settings.html#wagtailimages-max-upload-size","https://github.com/wagtail/wagtail/commit/3c0c64642b9e5b8d28b111263c7f4bddad6c3880","https://github.com/wagtail/wagtail/commit/c9d2fcd650a88d76ae122646142245e5927a9165","https://github.com/wagtail/wagtail/commit/cfa11bbe00dbe7ce8cd4c0bbfe2a898a690df2bf","https://github.com/wagtail/wagtail/commit/d4022310cbe497993459c3136311467c7ac6329a"],"products":["torchbox:wagtail"],"source":"nvd","synced_at":"2026-10-19T21:37:48.383111019+00:00"},"epss":{"cve":"CVE-2023-28837","score":0.0107,"percentile":0.64849,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-33pv-vcgh-jfg9","url":"https://osv.dev/vulnerability/GHSA-33pv-vcgh-jfg9","summary":"Wagtail vulnerable to denial-of-service via memory exhaustion when uploading large files","modified":"2026-09-10T03:49:53.230639651Z","packages":[{"ecosystem":"PyPI","name":"wagtail","purl":"pkg:pypi/wagtail","ranges":[">=4.2 <4.2.2"],"fixed":["4.2.2"]},{"ecosystem":"PyPI","name":"wagtail","purl":"pkg:pypi/wagtail","ranges":["<4.1.4"],"fixed":["4.1.4"]}]},{"id":"PYSEC-2023-56","url":"https://osv.dev/vulnerability/PYSEC-2023-56","summary":"","modified":"2023-11-08T04:12:14.942174Z","packages":[{"ecosystem":"PyPI","name":"wagtail","purl":"pkg:pypi/wagtail","ranges":[">=4.2 <4.2.2","<4.1.4"],"fixed":["4.2.2","4.1.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}