← Back to CVE search

CVE-2026-62237

Grav

Description

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.

CVSS 6.5EPSS 0.249%Risk 0.66
View source
Published
2026-07-17 02:18:11
Affected versions
<2.0.4
Type
Web application
Last modified
2026-07-21 02:16:23
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H