CVE-2024-39317

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

Published Jul 11, 2024 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-0186 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.\n
Github GHSA Github GHSA GHSA-jmp3-39vp-fwg8 Wagtail regular expression denial-of-service via search query parsing
History
Type Values Removed Values Added
First Time appeared Torchbox
Torchbox wagtail
CPEs cpe:2.3:a:wagtail:wagtail:*:*:*:*:*:*:*:* cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:*
Vendors & Products Wagtail
Wagtail wagtail
Torchbox
Torchbox wagtail
Type Values Removed Values Added
First Time appeared Wagtail
Wagtail wagtail
CPEs cpe:2.3:a:wagtail:wagtail:*:*:*:*:*:*:*:*
Vendors & Products Wagtail
Wagtail wagtail
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 2, 2024, 4:19 AM
Reserved
Jun 21, 2024, 6:15 PM
Status
Analyzed
Published
Jul 11, 2024, 4:15 PM
Modified
Jun 17, 2026, 7:41 AM