CVE-2024-39317Torchbox Wagtail
Medium 4.9
Follow: this CVE · Torchbox · Torchbox Wagtail We alert you by email or Slack (account required).
- Priority
- 30
- CVSS 3.1
- 4.9
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 66
- Auth required
- Yes
- Published
- Jul 11, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1333
- 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. A bug in Wagtail's `parse_query_string` would result in it taking a long time to process suitably crafted inputs. When used to parse sufficiently long strings of characters without a space, `parse_query_string` would take an unexpectedly large amount of time to process, resulting in a denial of service. In an initial Wagtail installation, the vulnerability can be exploited by any Wagtail admin user. It cannot be exploited by end users. If your Wagtail site has a custom search implementation which uses `parse_query_string`, it may be exploitable by other users (e.g. unauthenticated users). Patched versions have been released as Wagtail 5.2.6, 6.0.6 and 6.1.3.
What to do
- Apply the vendor's security update for Wagtail.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | wagtail |
≥ 6.0 < 6.0.6 |
6.0.6 |
pip install "wagtail>=6.0.6" |
| PyPI | wagtail |
≥ 6.1 < 6.1.3 |
6.1.3 |
pip install "wagtail>=6.1.3" |
| PyPI | wagtail |
≥ 2.0 < 5.2.6 |
5.2.6 |
pip install "wagtail>=5.2.6" |
| PyPI | wagtail |
≥ 6.0 < 6.0.6 |
6.0.6 |
pip install "wagtail>=6.0.6" |
| PyPI | wagtail |
≥ 6.1 < 6.1.3 |
6.1.3 |
pip install "wagtail>=6.1.3" |
| PyPI | wagtail |
≥ 2.0 < 5.2.6 |
5.2.6 |
pip install "wagtail>=5.2.6" |
Per OSV / GitHub Advisories (GHSA-jmp3-39vp-fwg8, PYSEC-2024-86). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| torchbox | wagtail | ≥ 2.0 < 5.2.6 |
| torchbox | wagtail | ≥ 6.0 < 6.0.6 |
| torchbox | wagtail | ≥ 6.1 < 6.1.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Third Party Advisory