# CVE-2025-66298: Grav is vulnerable to Server-Side Template Injection (SSTI) via Forms

- Severity: High 7.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-12-01T21:10:43.105Z
- Modified: 2026-09-26T00:10:00.127Z
- Also known as: GHSA-8535-hvm8-2hmv
- Weaknesses: CWE-1336
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- getgrav grav: < 1.8.0-beta.27; before 1.8.0; 1.8.0
- getgrav/grav (Packagist): before 1.8.0-beta.27

## Every score

- GitHub_M: CVSS:4.0 7.7 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-8535-hvm8-2hmv> (exploit, third-party-advisory, web)
- <https://github.com/getgrav/grav/commit/e37259527d9c1deb6200f8967197a9fa587c6458> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-66298> (advisory)
- <https://github.com/getgrav/grav> (package)

## Sources

- CVE List: [CVE-2025-66298](https://www.cve.org/CVERecord?id=CVE-2025-66298), CVE Terms of Use, modified 2025-12-02
- GitHub Advisory Database: [GHSA-8535-hvm8-2hmv](https://github.com/advisories/GHSA-8535-hvm8-2hmv), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-66298](https://nvd.nist.gov/vuln/detail/CVE-2025-66298), Public domain, modified 2026-09-26

---

Page: https://cve.day/CVE-2025-66298 · Whole record: https://cve.day/CVE-2025-66298.json · Rebuilt by cve.day 2026-11-25T22:59:08.142Z
