๐Ÿ” CVE Alert

CVE-2026-62237

MEDIUM 6.5

Grav < 2.0.4 ReDoS via regex_replace in Sandbox

CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
0th

Grav before 2.0.4 contains a regular expression denial of service (ReDoS) vulnerability in the regex_replace filter and function, which are allowlisted in the Twig content sandbox. When Twig processing in page content is enabled (security.twig_content.process_enabled: true, disabled by default), an authenticated page editor can supply a catastrophically backtracking PCRE pattern that is passed directly to PHP's preg_replace(), causing unbounded CPU consumption and denial of service to the web server process.

CWE CWE-1333
Vendor getgrav
Product grav
Published Jul 17, 2026
Stay Ahead of the Next One

Get instant alerts for getgrav grav

Be the first to know when new medium vulnerabilities affecting getgrav grav are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

getgrav / grav
0 < 2.0.4

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/getgrav/grav/security/advisories/GHSA-37f3-6p89-6qr9 vulncheck.com: https://www.vulncheck.com/advisories/grav-redos-via-regex-replace-in-sandbox

Credits

๐Ÿ” gemstone-source ๐Ÿ” drpr0grammer