CVE-2024-28116 json
Server-Side Template Injection (SSTI) with Grav CMS security sandbox bypass
published 2024-03-21 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-0899 , GHSA-c9gp-64c4-2rrh
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.8%
- EPSS 5.8% chance of exploitation in 30 days, percentile 93%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
5.81% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/getgrav/grav/security/advisories/GHSA-c9gp-64c4-2rrh referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | getgrav/grav | <1.7.45 |
1.7.45 |
Affected products
- getgrav grav
Classification
References
-
github.com
/getgrav/grav/commit/4149c81339274130742831422de2685f298f3a6e
web, patch
-
github.com
/getgrav/grav/security/advisories/GHSA-c9gp-64c4-2rrh
web, exploit, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-28116
advisory
-
github.com
/getgrav/grav
package
Sources
- CVE List CVE-2024-28116
- GitHub Advisory GHSA-c9gp-64c4-2rrh
- NVD CVE-2024-28116
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.