CVE-2025-66305
published medium CVSS 4.0 · 6.9Grav vulnerable to Denial of Service via Improper Input Handling in 'Supported' Parameter
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| getgrav | — | grav< 1.8.0-beta.27 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| getgrav | grav | < 1.8.0-beta.27 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-248 CWE-248: Uncaught Exception
References
2Provider assertions
2GitHub_M · cna
Grav vulnerable to Denial of Service via Improper Input Handling in 'Supported' Parameter
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1e2c359639a4f4d83ba1c5613b3b4ad92c1eb62ec45a76a156952781163eda7b
- Ingested
- 23 Sep 2026, 08:56:35 UTC
- Source record
- Official CVE record