CVE-2025-66306
JSON

4.3medium

Grav vulnerable to Information Disclosure via IDOR in Grav Admin Panel

Severity
4.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.46% (higher than 32% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-4cwq-j7jv-qmwg

Description

Grav is a file-based Web platform. Prior to 1.8.0-beta.27, there is an IDOR (Insecure Direct Object Reference) vulnerability in the Grav CMS Admin Panel which allows low-privilege users to access sensitive information from other accounts. Although direct account takeover is not possible, admin email addresses and other metadata can be exposed, increasing the risk of phishing, credential stuffing, and social engineering. This vulnerability is fixed in 1.8.0-beta.27.

Affected

Product or packageVersionsReported by
getgrav grav< 1.8.0-beta.27, from 1.7.48 before 1.8.0, 1.8.0CVE List, NVD
getgrav/grav (Packagist)before 1.8.0-beta.27GitHub Advisory Database

All scores

GitHub_M4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
GitHub4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-639

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

Grav is a file-based Web platform. Prior to 1.8.0-beta.27, there is an IDOR (Insecure Direct Object Reference) vulnerability in the Grav CMS Admin Panel which allows low-privilege users to access sensitive information from other accounts. Although direct account takeover is not possible, admin email addresses and other metadata can be exposed, increasing the risk of phishing, credential stuffing, and social engineering. This vulnerability is fixed in 1.8.0-beta.27.

GitHub Advisory Database

Summary

An IDOR (Insecure Direct Object Reference) vulnerability in the Grav CMS Admin Panel allows low-privilege users to access sensitive information from other accounts. Although direct account takeover is not possible, admin email addresses and other metadata can be exposed, increasing the risk of phishing, credential stuffing, and social engineering.


Details

  • Endpoint: /admin/accounts/users/{username}
  • Tested Version: Grav Admin 1.7.48
  • Affected Accounts: Authenticated users with 0 privileges (non-privileged accounts)

Description: Requesting another user’s account details (e.g., /admin/accounts/users/admin) as a low-privilege user returns an HTTP 403 Forbidden response. However, sensitive information such as the admin’s email address is still present in the response source, specifically in the <title> tag.

system/src/Grav/Common/Flex/Types/Users/UserCollection.php Screenshot 2025-08-24 021027

system/blueprints/flex/user-accounts.yaml Screenshot 2025-08-24 020521

This is a classic IDOR vulnerability, where object references (usernames) are not properly protected from unauthorized enumeration.


PoC

  1. Log in as a non-privileged user (0-privilege account).

  2. Access another user’s endpoint, for example:

    GET /admin/accounts/users/admin
    
  3. Observe the HTTP 403 Forbidden response.

  4. Inspect the page source; sensitive data such as the admin email can be seen in the <title> tag.

PoC Video:

https://drive.google.com/file/d/1lY_qwqSkN5sPNmHvXGOk6R1mdIgVt71H/view


Impact

  • Type: Information Disclosure via IDOR
  • Who is impacted: Low-privilege authenticated users can enumerate other accounts and extract sensitive metadata (admin emails).
  • Risk: Exposed information can be used for targeted phishing, credential stuffing, brute-force attacks, or social engineering campaigns.
  • Severity Justification: Only a low-privilege account is required, and sensitive metadata is leaked. Arbitrary code execution is not possible, but the information exposure is moderate risk.

Disclosure & CVE Request

  • We request a CVE ID for this vulnerability once validated.

  • Please credit the discovery to:

    • Elvin Nuruyev
    • Kanan Farzalili
NVD (es)

Grav es una plataforma web basada en archivos. Versiones anteriores a 1.8.0-beta.27, existe una vulnerabilidad IDOR (Insecure Direct Object Reference) en el Panel de Administración de Grav CMS que permite a usuarios con bajos privilegios acceder a información sensible de otras cuentas. Aunque la toma de control directa de cuentas no es posible, las direcciones de correo electrónico de administradores y otros metadatos pueden quedar expuestos, aumentando el riesgo de phishing, relleno de credenciales (credential stuffing) e ingeniería social. Esta vulnerabilidad está corregida en 1.8.0-beta.27.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-66306 changed 2025-12-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-4cwq-j7jv-qmwg changed 2026-09-10CC-BY-4.0
NVDCVE-2025-66306 changed 2026-09-26Public domain