Vulnerability

CVE-2025-66305

mediumCVSS 4.0 6.9Published 1 Dec 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Getgrav grav

Weakness type

References

  • github.com /getgrav/grav/commit/ed640a13143c4177af013cf001969ed2c5e197…
  • github.com /getgrav/grav/security/advisories/GHSA-m8vh-v6r6-w7p6

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning