{"id":"CVE-2025-66298","published":"2025-12-01T21:10:43Z","modified":"2025-12-02T14:07:05Z","title":"Grav is vulnerable to Server-Side Template Injection (SSTI) via Forms","vendor":"getgrav","product":"grav","tier":"tail","description":{"text":"Grav is a file-based Web platform. Prior to 1.8.0-beta.27, having a simple form on site can reveal the whole Grav configuration details (including plugin configuration details) by using the correct POST payload to exploit a Server-Side Template (SST) vulnerability. Sensitive information may be contained in the configuration details. This vulnerability is fixed in 1.8.0-beta.27.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"4.0","vector":"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:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00599,"percentile":0.42684,"provenance":"source"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-8535-hvm8-2hmv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/getgrav/grav/commit/e37259527d9c1deb6200f8967197a9fa587c6458","tags":["x_refsource_MISC"]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":8.54},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"getgrav","affectedVersions":[{"vendor":"getgrav","product":"grav","versions":["< 1.8.0-beta.27"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-12-02T14:06:52.920730Z","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-8535-hvm8-2hmv"],"provenance":"source"}],"summary":{"text":"Grav, a file-based web platform, contains a Server-Side Template Injection flaw in its forms handling, where unsanitised template input in form submissions is processed by the template engine. An unauthenticated remote attacker with network access can exploit this by sending a crafted POST request to a site with a simple form, with no user interaction or special configuration needed, to reveal the full Grav configuration, including plugin configuration details that may contain sensitive information.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:50:58Z"},"euvd":{"id":"EUVD-2025-200076","exploited":false,"provenance":"source"}}