{"id":"CVE-2026-62237","aliases":["CVE-2026-62672","GHSA-37f3-6p89-6qr9"],"url":"https://o3.security/vulnerability/CVE-2026-62237","summary":"Grav < 2.0.4 ReDoS via regex_replace in Sandbox","details":"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.","published":"2026-07-17T00:07:11.756Z","modified":"2026-08-20T04:03:58.704588317Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"getgrav/grav","fixedVersion":"2.0.4"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62237.json"},{"type":"ADVISORY","url":"https://github.com/getgrav/grav/security/advisories/GHSA-37f3-6p89-6qr9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62237"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/grav-redos-via-regex-replace-in-sandbox"},{"type":"PACKAGE","url":"https://github.com/getgrav/grav"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-20T04:03:58.704588317Z"}}