CVE-2025-66305
December 01, 2025
Grav is a file-based Web platform. Prior to 1.8.0-beta.27, a Denial of Service (DoS) vulnerability was identified in the "Languages" submenu of the Grav admin configuration panel (/admin/config/system). Specifically, the Supported parameter fails to properly validate user input. If a malformed value is inserted—such as a single forward slash (/) or an XSS test string—it causes a fatal regular expression parsing error on the server. This leads to application-wide failure due to the use of the preg_match() function with an improperly constructed regular expression, resulting in an error. Once triggered, the site becomes completely unavailable to all users. This vulnerability is fixed in 1.8.0-beta.27.
Affected Packages
https://github.com/getgrav/grav.git (GITHUB):
Affected version(s) >=0.1.0 <1.8.0-beta.27Fix Suggestion:
Update to version 1.8.0-beta.27https://github.com/getgrav/grav.git (GITHUB):
Affected version(s) >=0.1.0 <1.8.0-beta.27Fix Suggestion:
Update to version 1.8.0-beta.27getgrav/grav (PHP):
Affected version(s) >=0.1.0 <1.8.0-beta.27Fix Suggestion:
Update to version 1.8.0-beta.27getgrav/grav (PHP):
Affected version(s) >=0.1.0 <1.8.0-beta.27Fix Suggestion:
Update to version 1.8.0-beta.27Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
HIGH
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.9
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Uncaught Exception
EPSS
Base Score:
0.10