PT-2026-60647 · Getgrav · Grav

·

CVE-2026-62237

·

Published

2026-07-17

·

Updated

2026-07-17

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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.

Fix

DoS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-62237

Affected Products

Grav