Security mailing lists by PureSourceCode

CVE-2024-39317

MEDIUM 4.9CVSS 3.1

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

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.

Published
11 Jul 2024
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-1333
Also known as
GHSA-jmp3-39vp-fwg8PYSEC-2024-86
Sources
NVDJSONOSV GHSA-jmp3-39vp-fwg8JSONOSV PYSEC-2024-86JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
OSV PyPA CVSS 3.1 MEDIUM 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD torchbox wagtail
cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:*
>= 2.0, < 5.2.6 5.2.6
NVD torchbox wagtail
cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:*
>= 6.0, < 6.0.6 6.0.6
NVD torchbox wagtail
cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:*
>= 6.1, < 6.1.3 6.1.3
OSV PyPI wagtail >= 6.0, < 6.0.6 6.0.6
OSV PyPI wagtail >= 6.1, < 6.1.3 6.1.3
OSV PyPI wagtail >= 2.0, < 5.2.6 5.2.6
OSV PyPI wagtail >= 6.0, < 6.0.6; >= 6.1, < 6.1.3; >= 2.0, < 5.2.6 6.0.6, 6.1.3, 5.2.6

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 11 Jul 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 11 Jul 2024)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 11 Jul 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.