Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Getgrav | Grav | >= 1.7.48, < 1.8.0 |
Related Weaknesses (CWE)
References
- https://github.com/getgrav/grav/commit/ed640a13143c4177af013cf001969ed2c5e197eePatch
- https://github.com/getgrav/grav/security/advisories/GHSA-m8vh-v6r6-w7p6ExploitVendor Advisory
- https://github.com/getgrav/grav/security/advisories/GHSA-m8vh-v6r6-w7p6ExploitVendor Advisory
FAQ
What is CVE-2025-66305?
CVE-2025-66305 is a vulnerability with a CVSS score of 4.9 (MEDIUM). 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...
How severe is CVE-2025-66305?
CVE-2025-66305 has been rated MEDIUM with a CVSS base score of 4.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-66305?
Check the references section above for vendor advisories and patch information. Affected products include: Getgrav Grav.