CVE-2026-62237: Getgrav Grav
Medium severity, CVSS 6.5. EPSS: 0.3% chance of exploitation in the next 30 days.
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.
Affected products
- Getgrav Grav: before 2.0.4 (fixed in 2.0.4)
Published 2026-07-17. Last modified 2026-10-08.