Live threats

All CVEs / Torchbox

CVE-2023-28837Torchbox Wagtail

Medium 4.9

Priority
30
CVSS 3.1
4.9
EPSS
1.2%
probability of exploitation in 30 days · percentile 69
Auth required
Yes
Published
Apr 3, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400, CWE-770
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Wagtail.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI wagtail ≥ 4.2 < 4.2.2 4.2.2 pip install "wagtail>=4.2.2"
PyPI wagtail < 4.1.4 4.1.4 pip install "wagtail>=4.1.4"
PyPI wagtail ≥ 4.2 < 4.2.2 4.2.2 pip install "wagtail>=4.2.2"
PyPI wagtail < 4.1.4 4.1.4 pip install "wagtail>=4.1.4"

Per OSV / GitHub Advisories (GHSA-33pv-vcgh-jfg9, PYSEC-2023-56). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
torchboxwagtail< 4.1.4
torchboxwagtail≥ 4.2 < 4.2.2

Official sources

References

Links published by the sources. Open them with care.