{"id":"CVE-2024-28116","published":"2024-03-21T21:44:29Z","modified":"2024-08-02T00:48:49Z","title":"Server-Side Template Injection (SSTI) with Grav CMS security sandbox bypass","vendor":"getgrav","product":"grav","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.05807,"percentile":0.93309,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-c9gp-64c4-2rrh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/getgrav/grav/commit/4149c81339274130742831422de2685f298f3a6e","tags":["x_refsource_MISC"]}],"priority":{"score":29.8,"factors":[{"name":"EPSS percentile","points":18.66},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.16}]},"exploitSources":{"pocGithub":{"count":4,"skipped":0,"earliest":"2024-03-24","earliestUrl":"https://github.com/akabe1/Graver","repos":[{"name":"akabe1/Graver","url":"https://github.com/akabe1/Graver","stars":8,"created":"2024-03-24"},{"name":"geniuszly/GenGravSSTIExploit","url":"https://github.com/geniuszly/GenGravSSTIExploit","stars":7,"created":"2024-10-05"},{"name":"gunzf0x/Grav-CMS-RCE-Authenticated","url":"https://github.com/gunzf0x/Grav-CMS-RCE-Authenticated","stars":0,"created":"2024-09-07"},{"name":"bebarossi/grav-cve-2024-28116","url":"https://github.com/bebarossi/grav-cve-2024-28116","stars":0,"created":"2026-08-19"}]},"first":{"date":"2024-03-24","source":"PoC-in-GitHub","url":"https://github.com/akabe1/Graver"},"provenance":"source"},"vendorSlug":"getgrav","affectedVersions":[{"vendor":"getgrav","product":"grav","versions":["< 1.7.45"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-08-01T20:55:43.128996Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"getgrav/grav","vulnerableRanges":["<1.7.45"],"patched":["1.7.45"],"from":["GHSA-c9gp-64c4-2rrh"],"provenance":"source"}],"summary":{"text":"Grav CMS, the open-source flat-file content management system from getgrav, contains a Server-Side Template Injection flaw in versions prior to 1.7.45 that allows its existing security sandbox to be bypassed. An attacker with any authenticated account, where editor permissions are sufficient, can execute arbitrary code on the remote server over the network without user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:02:30Z"},"euvd":{"id":"EUVD-2024-0899","exploited":false,"provenance":"source"}}