Vulnerability

CVE-2026-62672

mediumCVSS 4.0 6.0Published 19 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

Grav is a file-based Web platform. Prior to 2.0.4, Grav allowlists the regex_replace filter and function in system/config/security.yaml, and GravExtension::regexReplace() passes an editor-controlled pattern directly to preg_replace(). When security.twig_content.process_enabled is enabled, an authenticated page editor can publish a catastrophically backtracking pattern that consumes PHP worker CPU and denies service to site visitors. This issue is fixed in version 2.0.4.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /getgrav/grav/commit/907116268ad4f48be7472c57f6498191857859…
  • github.com /getgrav/grav/releases/tag/2.0.4
  • github.com /getgrav/grav/security/advisories/GHSA-37f3-6p89-6qr9

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning