CVE-2025-66307
Grav Admin Plugin vulnerable to User Enumeration & Email Disclosure
This admin plugin for Grav is an HTML user interface that provides a convenient way to configure Grav and easily create and modify pages. Prior to 1.11.0-beta.1, a user enumeration and email disclosure vulnerability exists in Grav. The "Forgot Password" functionality at /admin/forgot leaks information about valid usernames and their associated email addresses through distinct server responses. This allows an attacker to enumerate users and disclose sensitive email addresses, which can be leveraged for targeted attacks such as password spraying, phishing, or social engineering. This vulnerability is fixed in 1.11.0-beta.1.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
6.5
Grav Admin Plugin vulnerable to User Enumeration & Email Disclosure
This admin plugin for Grav is an HTML user interface that provides a convenient way to configure Grav and easily create and modify pages. Prior to 1.11.0-beta.1, a user enumeration and email disclosure vulnerability exists in Grav. The "Forgot Password" functionality at /admin/forgot leaks information about valid usernames and their associated email addresses through distinct server responses. This allows an attacker to enumerate users and disclose sensitive email addresses, which can be leveraged for targeted attacks such as password spraying, phishing, or social engineering. This vulnerability is fixed in 1.11.0-beta.1.
- Record
CVE-2025-66307- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L - Weakness
- CWE-204
- Updated
- 2026-11-02
EUVDEUVD-2025-200103
6.5
This admin plugin for Grav is an HTML user interface that provides a convenient way to configure Grav and easily create and modify pages. Prior to 1.11.0-beta.1, a user enumeration and email disclosure vulnerability exists in Grav. The "Forgot Password" functionality at /admin/forgot leaks information about valid usernames and their associated email addresses through distinct server responses. This allows an attacker to enumerate users and disclose sensitive email addresses, which can be leveraged for targeted attacks such as password spraying, phishing, or social engineering. This vulnerability is fixed in 1.11.0-beta.1.
- Record
EUVD-2025-200103- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-q3qx-cp62-f6m7
6.5
Grav Admin Plugin vulnerable to User Enumeration & Email Disclosure
Grav v1.7.49.5 / Admin v1.10.49.1 – User Enumeration & Email Disclosure
Summary
A user enumeration and email disclosure vulnerability exists in Grav v1.7.49.5 with Admin plugin v1.10.49.1.
The "Forgot Password" functionality at /admin/forgot leaks information about valid usernames and their associated email addresses through distinct server responses.
This allows an attacker to enumerate users and disclose sensitive email addresses, which can be leveraged for targeted attacks such as password spraying, phishing, or social engineering.
Details
The issue resides in the taskForgot() function, which handles the forgot password workflow.
Relevant vulnerable logic:
if (null === $user || $user->state !== 'enabled' || !$to) {
...
// Generic message for invalid/non-existing users
$this->setMessage($this->translate('PLUGIN_ADMIN.FORGOT_INSTRUCTIONS_SENT_VIA_EMAIL'));
return $this->createRedirectResponse($current);
}
if ($rateLimiter->isRateLimited($username)) {
...
$interval = $config->get('plugins.login.max_pw_resets_interval', 2);
// Sensitive message for valid users
$this->setMessage($this->translate('PLUGIN_LOGIN.FORGOT_CANNOT_RESET_IT_IS_BLOCKED', $to, $interval), 'error');
return $this->createRedirectResponse($current);
}
When an attacker submits the password reset form at /admin/forgot with an invalid username, the application responds with:
Instructions to reset your password have been sent to your email address
However, when a valid username is supplied, and the attacker repeatedly triggers password reset requests, the application responds with:
Cannot reset password for <USER_EMAIL>, password reset functionality temporarily blocked, please try later (maximum 60 minutes)
This discrepancy in responses enables:
- User Enumeration – Attackers can determine if a username exists in the system by analyzing the response.
- User Email Disclosure – The system discloses the actual email address associated with the account (e.g.,
[email protected]).
This violates best practices for authentication flows, where responses should remain generic to avoid leaking sensitive information.
PoC
- Navigate to the Forgot Password page:
https://<target>/admin/forgot - Submit a reset request with a random/invalid username (e.g.,
invalid_user):
- Response:
Instructions to reset your password have been sent to your email address
- Submit a reset request with a valid username (e.g.,
admin). - Repeatedly request a reset for the same username until the lockout mechanism triggers.
- Response:
Cannot reset password for [email protected], password reset functionality temporarily blocked, please try later (maximum 60 minutes)
- Observe the leaked email address of the admin account in the error message.
Impact
- Severity: Medium
- Type: Information Disclosure / User Enumeration
- Who is Impacted: All Grav sites using Admin plugin v1.10.49.1 with password reset enabled.
- Risks:
- Allows attackers to enumerate valid usernames.
- Exposes email addresses of admin accounts, which can be used in:
- Credential stuffing
- Password spraying
- Phishing/social engineering campaigns
- Further exploitation in combination with other vulnerabilities
Recommendation
-
Modify the
taskForgot()logic to always return a generic, non-identifying message, regardless of whether the username exists or rate limits are hit. -
Example safe response:
If the account exists, password reset…
- Record
GHSA-q3qx-cp62-f6m7- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L - Weakness
- CWE-204
- Updated
- 2026-11-02
NVD
6.5
This admin plugin for Grav is an HTML user interface that provides a convenient way to configure Grav and easily create and modify pages. Prior to 1.11.0-beta.1, a user enumeration and email disclosure vulnerability exists in Grav. The "Forgot Password" functionality at /admin/forgot leaks information about valid usernames and their associated email addresses through distinct server responses. This allows an attacker to enumerate users and disclose sensitive email addresses, which can be leveraged for targeted attacks such as password spraying, phishing, or social engineering. This vulnerability is fixed in 1.11.0-beta.1.
- Record
CVE-2025-66307- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L - CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-204
- Updated
- 2026-11-02
OSV
6.5
Grav Admin Plugin vulnerable to User Enumeration & Email Disclosure
This admin plugin for Grav is an HTML user interface that provides a convenient way to configure Grav and easily create and modify pages. Prior to 1.11.0-beta.1, a user enumeration and email disclosure vulnerability exists in Grav. The "Forgot Password" functionality at /admin/forgot leaks information about valid usernames and their associated email addresses through distinct server responses. This allows an attacker to enumerate users and disclose sensitive email addresses, which can be leveraged for targeted attacks such as password spraying, phishing, or social engineering. This vulnerability is fixed in 1.11.0-beta.1.
- Record
CVE-2025-66307- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L - Weakness
- CWE-204
- Updated
- 2026-11-02
OSVGHSA-q3qx-cp62-f6m7
6.5
Grav Admin Plugin vulnerable to User Enumeration & Email Disclosure
Grav v1.7.49.5 / Admin v1.10.49.1 – User Enumeration & Email Disclosure
Summary
A user enumeration and email disclosure vulnerability exists in Grav v1.7.49.5 with Admin plugin v1.10.49.1.
The "Forgot Password" functionality at /admin/forgot leaks information about valid usernames and their associated email addresses through distinct server responses.
This allows an attacker to enumerate users and disclose sensitive email addresses, which can be leveraged for targeted attacks such as password spraying, phishing, or social engineering.
Details
The issue resides in the taskForgot() function, which handles the forgot password workflow.
Relevant vulnerable logic:
if (null === $user || $user->state !== 'enabled' || !$to) {
...
// Generic message for invalid/non-existing users
$this->setMessage($this->translate('PLUGIN_ADMIN.FORGOT_INSTRUCTIONS_SENT_VIA_EMAIL'));
return $this->createRedirectResponse($current);
}
if ($rateLimiter->isRateLimited($username)) {
...
$interval = $config->get('plugins.login.max_pw_resets_interval', 2);
// Sensitive message for valid users
$this->setMessage($this->translate('PLUGIN_LOGIN.FORGOT_CANNOT_RESET_IT_IS_BLOCKED', $to, $interval), 'error');
return $this->createRedirectResponse($current);
}
When an attacker submits the password reset form at /admin/forgot with an invalid username, the application responds with:
Instructions to reset your password have been sent to your email address
However, when a valid username is supplied, and the attacker repeatedly triggers password reset requests, the application responds with:
Cannot reset password for <USER_EMAIL>, password reset functionality temporarily blocked, please try later (maximum 60 minutes)
This discrepancy in responses enables:
- User Enumeration – Attackers can determine if a username exists in the system by analyzing the response.
- User Email Disclosure – The system discloses the actual email address associated with the account (e.g.,
[email protected]).
This violates best practices for authentication flows, where responses should remain generic to avoid leaking sensitive information.
PoC
- Navigate to the Forgot Password page:
https://<target>/admin/forgot - Submit a reset request with a random/invalid username (e.g.,
invalid_user):
- Response:
Instructions to reset your password have been sent to your email address
- Submit a reset request with a valid username (e.g.,
admin). - Repeatedly request a reset for the same username until the lockout mechanism triggers.
- Response:
Cannot reset password for [email protected], password reset functionality temporarily blocked, please try later (maximum 60 minutes)
- Observe the leaked email address of the admin account in the error message.
Impact
- Severity: Medium
- Type: Information Disclosure / User Enumeration
- Who is Impacted: All Grav sites using Admin plugin v1.10.49.1 with password reset enabled.
- Risks:
- Allows attackers to enumerate valid usernames.
- Exposes email addresses of admin accounts, which can be used in:
- Credential stuffing
- Password spraying
- Phishing/social engineering campaigns
- Further exploitation in combination with other vulnerabilities
Recommendation
-
Modify the
taskForgot()logic to always return a generic, non-identifying message, regardless of whether the username exists or rate limits are hit. -
Example safe response:
If the account exists, password reset…
- Record
GHSA-q3qx-cp62-f6m7- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L - Weakness
- CWE-204
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
getgrav/gravPackagist |
before 1.8.0-beta.27 | 1.8.0-beta.27 |
getgrav/gravPackagist |
before 1.8.0-beta.27, plus listed versions 0.8.00.9.00.9.10.9.100.9.11 Show 45 moreShow less0.9.120.9.130.9.140.9.150.9.160.9.170.9.180.9.190.9.20.9.200.9.210.9.220.9.230.9.240.9.250.9.260.9.270.9.280.9.290.9.30.9.300.9.310.9.320.9.330.9.340.9.350.9.360.9.370.9.380.9.390.9.40.9.400.9.410.9.420.9.430.9.440.9.450.9.50.9.60.9.70.9.80.9.91.0.01.0.0-rc.11.0.0-rc.2 |
1.8.0-beta.27 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-66307 is a medium vulnerability (CVSS 6.5) in Getgrav Grav, published December 1, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.34%, the 27th percentile. Fixed in getgrav/grav 1.8.0-beta.27.
References
github.com/getgrav/grav/security/advisories/GHSA-q3qx-cp62-f6m7
github.com/getgrav/grav-plugin-admin/commit/99f653296504f1d6408510dd2f6f20a45a26f9b0
nvd.nist.gov/vuln/detail/CVE-2025-66307
github.com/getgrav/grav-plugin-admin/blob/6d673fc7c4f6962756f93ae651371e81f7f20924/classes/plugin/Controllers/Login/LoginController.php
github.com/advisories/GHSA-q3qx-cp62-f6m7
github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66307.json
github.com/getgrav/grav
Left out here: 267 versions and the rest of 2 source descriptions. The JSON record has them.