CVE-2024-39317

Wagtail regular expression denial-of-service via search query parsing

MEDIUM
4.9
CVSS Score
Published: July 11, 2024 at 03:23 PM UTC
Updated: June 17, 2026 at 07:41 AM UTC
2 products affected across 2 vendorsWagtailWagtail

Using wagtail by wagtail?

Get instant alerts when new vulnerabilities affect wagtail - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.9
Exploit prediction
EPSS 0.6%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.0 ≤ v < 5.2.66.0 ≤ v < 6.0.66.1 ≤ v < 6.1.3
v < 5.2.6v < 6.0.6v < 6.1.3
Affected range stops below 5.2.6, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.0.6, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.1.3, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-1333

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card