Medium severity · published Jul 11, 2024
CVE-2024-39317
Wagtail regular expression denial-of-service via search query parsing
4.9
CVSS
0.6%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 49% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
WA
wagtail · wagtail
>= 2.0, < 5.2.6; >= 6.0, < 6.0.6; >= 6.1, < 6.1.3 · source: vendor, NVD
Affected product
WA
wagtail
wagtail
More from wagtail
7.3
CVE-2026-54263
Wagtail: Reflected XSS in dynamic image URL generator view
6.5
CVE-2026-54261
Wagtail: Improper permission handling in image preview
6.5
CVE-2026-44200
Wagtail: Improper permission handling when copying pages
6.5
CVE-2026-44199
Wagtail: Improper permission handling when deleting form submissions
6.5
CVE-2026-44197
Wagtail: Improper permission handling when comparing revisions