Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. getgrav/grav
  4. ›
  5. CVE-2025-66298

CVE-2025-66298: Grav is vulnerable to Server-Side Template Injection (SSTI) via Forms

December 2, 2025

Having a simple form on site can reveal the whole Grav configuration details (including plugin configuration details) by using the correct POST payload. Sensitive information may be contained in the configuration details.

References

  • github.com/advisories/GHSA-8535-hvm8-2hmv
  • github.com/getgrav/grav
  • github.com/getgrav/grav/commit/e37259527d9c1deb6200f8967197a9fa587c6458
  • github.com/getgrav/grav/security/advisories/GHSA-8535-hvm8-2hmv
  • nvd.nist.gov/vuln/detail/CVE-2025-66298

Code Behaviors & Features

Detect and mitigate CVE-2025-66298 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.8.0-beta.27

Fixed versions

  • 1.8.0-beta.27

Solution

Upgrade to version 1.8.0-beta.27 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine

Source file

packagist/getgrav/grav/CVE-2025-66298.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 14 Dec 2025 00:19:22 +0000.