Security mailing lists by PureSourceCode

CVE-2023-28837

MEDIUM 4.9CVSS 3.1

Wagtail vulnerable to denial-of-service via memory exhaustion when uploading large files

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.

Published
3 Apr 2023
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-400CWE-770
Also known as
GHSA-33pv-vcgh-jfg9PYSEC-2023-56
Sources
NVDJSONOSV GHSA-33pv-vcgh-jfg9JSONOSV PYSEC-2023-56JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 MEDIUM 4.4 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD torchbox wagtail
cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:*
< 4.1.4 4.1.4
NVD torchbox wagtail
cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:*
>= 4.2, < 4.2.2 4.2.2
OSV PyPI wagtail >= 4.2, < 4.2.2 4.2.2
OSV PyPI wagtail < 4.1.4 4.1.4
OSV PyPI wagtail >= 4.2, < 4.2.2; < 4.1.4 4.2.2, 4.1.4

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 3 Apr 2023)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Apr 2023)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Apr 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.