CVE-2025-66844
CRITICAL 9.1CVSS 3.1Grav may be vulnerable to SSRF attack via Twig Templates
In grav <1.7.49.5, a SSRF (Server-Side Request Forgery) vector may be triggered via Twig templates when page content is processed by Twig and the configuration allows undefined PHP functions to be registered
- Published
- 15 Dec 2025
- Last modified
- 23 Oct 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-918
- Also known as
- GHSA-729w-j79f-2c34
- Sources
- NVDJSONOSV GHSA-729w-j79f-2c34JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | getgrav | gravcpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:* |
< 1.7.49.5 | 1.7.49.5 |
| OSV | Packagist | getgrav/grav | <= 1.7.49.5 |
References
- https://github.com/Yohane-Mashiro/grav_cve/issues/2 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-66844 · ADVISORY
- https://github.com/getgrav/grav · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 15 Dec 2025)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 15 Dec 2025)