# CVE-2025-66305: Grav vulnerable to Denial of Service via Improper Input Handling in 'Supported' Parameter

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-12-01T21:43:29.725Z
- Modified: 2026-09-10T03:50:58.807Z
- Also known as: GHSA-m8vh-v6r6-w7p6
- Weaknesses: CWE-248
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- getgrav grav: < 1.8.0-beta.27; from 1.7.48 before 1.8.0; 1.8.0
- getgrav/grav (Packagist): before 1.8.0-beta.27

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H`
- NVD: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-m8vh-v6r6-w7p6> (exploit, vendor-advisory, web)
- <https://github.com/getgrav/grav/commit/ed640a13143c4177af013cf001969ed2c5e197ee> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-66305> (advisory)
- <https://github.com/getgrav/grav> (package)

## Sources

- CVE List: [CVE-2025-66305](https://www.cve.org/CVERecord?id=CVE-2025-66305), CVE Terms of Use, modified 2025-12-02
- GitHub Advisory Database: [GHSA-m8vh-v6r6-w7p6](https://github.com/advisories/GHSA-m8vh-v6r6-w7p6), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-66305](https://nvd.nist.gov/vuln/detail/CVE-2025-66305), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-66305 · Whole record: https://cve.day/CVE-2025-66305.json · Rebuilt by cve.day 2026-11-25T22:59:08.146Z
