8.7high
Grav before 2.0.4 Information Disclosure via __GRAV_CONFIG__
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.31% (higher than 25% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
The Grav Admin2 plugin (getgrav/grav-plugin-admin2) before 2.0.4 embeds a global JavaScript variable window.__GRAV_CONFIG__ in the Admin2 SPA bootstrap page at /grav/admin (and its subroutes). This object is returned in every unauthenticated response and discloses the server URL, API prefix, admin base path, runtime environment type, and exact Grav and Admin2 version numbers, allowing an unauthenticated attacker to fingerprint the deployment and select version-specific exploits without reconnaissance.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| getgrav grav | before 2.0.4 Not affected: 2.0.4 | CVE List |
All scores
| VulnCheck | 8.7high CVSS:4.0 | 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 |
| VulnCheck | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
The Grav Admin2 plugin (getgrav/grav-plugin-admin2) before 2.0.4 embeds a global JavaScript variable window.__GRAV_CONFIG__ in the Admin2 SPA bootstrap page at /grav/admin (and its subroutes). This object is returned in every unauthenticated response and discloses the server URL, API prefix, admin base path, runtime environment type, and exact Grav and Admin2 version numbers, allowing an unauthenticated attacker to fingerprint the deployment and select version-specific exploits without reconnaissance.
NVD (es)
El plugin Grav Admin2 (getgrav/grav-plugin-admin2) anterior a 2.0.4 incrusta una variable global de JavaScript window.__GRAV_CONFIG__ en la página de arranque SPA de Admin2 en /grav/admin (y sus subrutas). Este objeto se devuelve en cada respuesta no autenticada y revela la URL del servidor, el prefijo de la API, la ruta base de administración, el tipo de entorno de ejecución y los números de versión exactos de Grav y Admin2, lo que permite a un atacante no autenticado identificar la implementación y seleccionar exploits específicos de la versión sin reconocimiento.
References
| https://github.com/getgrav/grav/security/advisories/GHSA-pfjq-chp8-3vgh | exploit, vendor-advisory | |
| https://www.vulncheck.com/advisories/grav-before-information-disclosure-via-grav-config | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-61454 changed 2026-07-13 | CVE Terms of Use |
| NVD | CVE-2026-61454 changed 2026-10-25 | Public domain |