CVE Explorer
CVE-2025-66299
Grav is a file-based Web platform. Prior to 1.8.0-beta.27, Grav CMS is vulnerable to a Server-Side Template Injection (SSTI) that allows any authenticated user with editor permissions to execute arbitrary code on the remote server, bypassing the existing security sandbox. Since the security sandbox does not fully protect the Twig object, it is possible to interact with it (e.g., call methods, read/write attributes) through maliciously crafted Twig template directives injected into a web page. Th
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-1336","description":"CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2fcf78c156f91860bedfa77df3fd1ac94fa8d1817f6bf5643d7fb4cd3a14ff6b · sha256:720c8c94f06b6ced… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2fcf78c156f91860bedfa77df3fd1ac94fa8d1817f6bf5643d7fb4cd3a14ff6b · sha256:720c8c94f06b6ced… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"grav","vendor":"getgrav","versions":[{"status":"affected","version":"< 1.8.0-beta.27"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:2fcf78c156f91860bedfa77df3fd1ac94fa8d1817f6bf5643d7fb4cd3a14ff6b · sha256:720c8c94f06b6ced… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"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"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:2fcf78c156f91860bedfa77df3fd1ac94fa8d1817f6bf5643d7fb4cd3a14ff6b · sha256:720c8c94f06b6ced… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-1336","description":"CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2fcf78c156f91860bedfa77df3fd1ac94fa8d1817f6bf5643d7fb4cd3a14ff6b · sha256:720c8c94f06b6ced… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2fcf78c156f91860bedfa77df3fd1ac94fa8d1817f6bf5643d7fb4cd3a14ff6b · sha256:720c8c94f06b6ced… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/getgrav/grav/commit/e37259527d9c1deb6200f8967197a9fa587c6458","tags":["x_refsource_MISC"],"url":"https://github.com/getgrav/grav/commit/e37259527d9c1deb6200f8967197a9fa587c6458"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2fcf78c156f91860bedfa77df3fd1ac94fa8d1817f6bf5643d7fb4cd3a14ff6b · sha256:720c8c94f06b6ced… · /containers/cna/references/1
{"name":"https://github.com/getgrav/grav/security/advisories/GHSA-gjc5-8cfh-653x","tags":["x_refsource_CONFIRM"],"url":"https://github.com/getgrav/grav/security/advisories/GHSA-gjc5-8cfh-653x"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2fcf78c156f91860bedfa77df3fd1ac94fa8d1817f6bf5643d7fb4cd3a14ff6b · sha256:720c8c94f06b6ced… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.