{"id":"CVE-2025-66305","published":"2025-12-01T21:43:29Z","modified":"2025-12-02T20:14:21Z","title":"Grav vulnerable to Denial of Service via Improper Input Handling in 'Supported' Parameter","vendor":"getgrav","product":"grav","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00644,"percentile":0.45424,"provenance":"source"},"cwes":[{"id":"CWE-248","name":"Uncaught Exception"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-m8vh-v6r6-w7p6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/getgrav/grav/commit/ed640a13143c4177af013cf001969ed2c5e197ee","tags":["x_refsource_MISC"]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":9.08},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"getgrav","affectedVersions":[{"vendor":"getgrav","product":"grav","versions":["< 1.8.0-beta.27"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-12-02T20:14:17.748570Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"getgrav/grav","vulnerableRanges":["<1.8.0-beta.27"],"patched":["1.8.0-beta.27"],"from":["GHSA-m8vh-v6r6-w7p6"],"provenance":"source"}],"summary":{"text":"Grav, a file-based web platform from getgrav, has a denial-of-service flaw in the Supported parameter of the Languages submenu in the admin configuration panel (/admin/config/system), where malformed input causes a fatal regular expression parsing error. An attacker who holds high-privilege credentials on the network can submit a malformed value, such as a single forward slash, to crash the application and make the site unavailable to all users, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:54:39Z"},"euvd":{"id":"EUVD-2025-200105","exploited":false,"provenance":"source"}}