{
  "id": "CVE-2025-66298",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-66298",
  "published_at": "2025-12-01T21:10:43.105Z",
  "title": "Grav is vulnerable to Server-Side Template Injection (SSTI) via Forms",
  "vendor": "getgrav",
  "product": "grav",
  "cvss": {
    "score": 7.7,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Grav is a file-based Web platform. Prior to 1.8.0-beta.27, having a simple form on site can reveal the whole Grav configuration details (including plugin configuration details) by using the correct POST payload to exploit a Server-Side Template (SST) vulnerability. Sensitive information may be contained in the configuration details. This vulnerability is fixed in 1.8.0-beta.27.",
  "cwe": "CWE-1336",
  "cpes": [
    "cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta10:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta11:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta12:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta13:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta14:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta15:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta16:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta17:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta18:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta19:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta1:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta20:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta21:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta22:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta23:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta24:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta25:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta26:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta2:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta3:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta4:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta5:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta6:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta7:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta8:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta9:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.7,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "getgrav",
        "product": "grav",
        "ranges": [
          "\u003c 1.8.0-beta.27"
        ],
        "fixed_in": [
          "1.8.0-beta.27"
        ]
      }
    ],
    "upgrade": [
      "Upgrade grav to 1.8.0-beta.27 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/getgrav/grav/security/advisories/GHSA-8535-hvm8-2hmv"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/getgrav/grav/commit/e37259527d9c1deb6200f8967197a9fa587c6458"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
