{"id":"CVE-2024-28116","state":"PUBLISHED","title":"Server-Side Template Injection (SSTI) with Grav CMS security sandbox bypass","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.","publishedAt":"2024-03-21T21:44:29.489Z","updatedAt":"2024-08-02T00:48:49.256Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["getgrav grav"],"affected":[{"vendor":"getgrav","product":"grav","versions":[{"version":"< 1.7.45","status":"affected"}]}],"references":["https://github.com/getgrav/grav/security/advisories/GHSA-c9gp-64c4-2rrh","https://github.com/getgrav/grav/commit/4149c81339274130742831422de2685f298f3a6e"],"weaknesses":["CWE-94","CWE-1336"],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/28xxx/CVE-2024-28116.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-28116","state":"PUBLISHED","datePublished":"2024-03-21T21:44:29.489Z","dateUpdated":"2024-08-02T00:48:49.256Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-03-04T14:19:14.060Z"},"containers":{"cna":{"title":"Server-Side Template Injection (SSTI) with Grav CMS security sandbox bypass","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"getgrav","product":"grav","versions":[{"version":"< 1.7.45","status":"affected"}]}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-c9gp-64c4-2rrh","name":"https://github.com/getgrav/grav/security/advisories/GHSA-c9gp-64c4-2rrh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/getgrav/grav/commit/4149c81339274130742831422de2685f298f3a6e","name":"https://github.com/getgrav/grav/commit/4149c81339274130742831422de2685f298f3a6e","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-1336","lang":"en","description":"CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-03-21T21:44:29.489Z"},"source":{"advisory":"GHSA-c9gp-64c4-2rrh","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"getgrav","product":"grav","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"1.7.45","versionType":"custom"}],"cpes":["cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-01T20:55:43.128996Z","id":"CVE-2024-28116","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-01T20:56:23.682Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-c9gp-64c4-2rrh","name":"https://github.com/getgrav/grav/security/advisories/GHSA-c9gp-64c4-2rrh","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/getgrav/grav/commit/4149c81339274130742831422de2685f298f3a6e","name":"https://github.com/getgrav/grav/commit/4149c81339274130742831422de2685f298f3a6e","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T00:48:49.256Z"}}]}}}