CVEvulnerability
CVE-2026-62672
6.0 MEDIUM
Official page ↗
- Status
- Deferred
- Published
- 2026-08-19
- Last modified
- 2026-09-09
- Assigner
- [email protected]
- CVSS 4.0 ([email protected])
- 6.0 MEDIUM — CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Weaknesses
- CWE-1333
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.
Related
Weakness · CWE (1)
- CWE-1333 Inefficient Regular Expression Complexity weakness
References
- https://github.com/getgrav/grav/commit/907116268ad4f48be7472c57f64981918578599a github.com
- https://github.com/getgrav/grav/releases/tag/2.0.4 github.com
- https://github.com/getgrav/grav/security/advisories/GHSA-37f3-6p89-6qr9 github.com
- https://github.com/getgrav/grav/security/advisories/GHSA-37f3-6p89-6qr9 github.com