# CVE-2024-28116: Server-Side Template Injection (SSTI) with Grav CMS security sandbox bypass

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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): 5.81%, higher than 93% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-03-21T21:44:29.489Z
- Modified: 2026-09-10T03:50:10.371Z
- Also known as: GHSA-c9gp-64c4-2rrh
- Weaknesses: CWE-94, CWE-1336
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Grav is an open-source, flat-file content management system. Grav CMS prior to version 1.7.45 is vulnerable to a Server-Side Template Injection (SSTI), which allows any authenticated user (editor permissions are sufficient) to execute arbitrary code on the remote server bypassing the existing security sandbox. Version 1.7.45 contains a patch for this issue.

(As written by CVE List.)

## Affected

- getgrav grav: < 1.7.45; before 1.7.45
- getgrav/grav (Packagist): before 1.7.45

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-c9gp-64c4-2rrh> (exploit, vendor-advisory, web)
- <https://github.com/getgrav/grav/commit/4149c81339274130742831422de2685f298f3a6e> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-28116> (advisory)
- <https://github.com/getgrav/grav> (package)

## Sources

- CVE List: [CVE-2024-28116](https://www.cve.org/CVERecord?id=CVE-2024-28116), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-c9gp-64c4-2rrh](https://github.com/advisories/GHSA-c9gp-64c4-2rrh), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-28116](https://nvd.nist.gov/vuln/detail/CVE-2024-28116), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-28116 · Whole record: https://cve.day/CVE-2024-28116.json · Rebuilt by cve.day 2026-11-25T22:58:37.825Z
