Improper Neutralization of Special Elements Used in a Template Engine in Grav CMS - CVE-2025-66298

 

Improper Neutralization of Special Elements Used in a Template Engine in Grav CMS - CVE-2025-66298

Published: May 5, 2026


Vulnerability identifier: #VU130067
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-66298
CWE-ID: CWE-1336
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Grav CMS
Affected software:
Grav CMS

Detailed vulnerability description

The vulnerability allows a remote attacker to disclose sensitive information.

The vulnerability exists due to server-side template injection in the Forms plugin form handling when processing crafted POST form submissions. A remote attacker can send a specially crafted POST request to disclose sensitive information.

The issue can expose Grav configuration details, including plugin configuration details.


How to mitigate CVE-2025-66298

Install security update from vendor's website.

Sources