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: 8.7 [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]
CVE-ID: CVE-2025-66298
CWE-ID: CWE-1336
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Grav CMS

How to mitigate CVE-2025-66298

Install security update from vendor's website.

Grav CMS - update to 1.8.0 beta.27

External References

Related Security Bulletins