# CVE-2026-2374: Login No Captcha reCAPTCHA <= 1.8.0 - Unauthenticated Stored Cross-Site Scripting via PHP_SELF

- Severity: High 7.2 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Published: 2026-05-28T03:27:27.508Z
- Modified: 2026-06-17T10:30:51.717Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Wordfence

## Description

The Login No Captcha reCAPTCHA plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `$_SERVER['PHP_SELF']` superglobal in all versions up to, and including, 1.8.0. This is due to the `authenticate()` function storing the unsanitized output of `basename($_SERVER['PHP_SELF'])` in the `login_nocaptcha_error` WordPress option when a login attempt is made from a non-standard login page (e.g., xmlrpc.php). The `admin_notices()` function then echoes this stored value directly into the admin dashboard HTML without escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute when an administrator with a whitelisted IP address visits the WordPress dashboard within 30 seconds of the attack.

(As written by CVE List.)

## Affected

- robertpeake Login No Captcha reCAPTCHA: up to 1.8.0

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/99dfce3b-2b47-41bf-8b20-b53fb9f061a7?source=cve>
- <https://plugins.trac.wordpress.org/browser/login-recaptcha/tags/1.7.3/login-nocaptcha.php#L281>
- <https://plugins.trac.wordpress.org/browser/login-recaptcha/tags/1.7.3/login-nocaptcha.php#L377>
- <https://plugins.trac.wordpress.org/browser/login-recaptcha/trunk/login-nocaptcha.php#L281>
- <https://plugins.trac.wordpress.org/browser/login-recaptcha/trunk/login-nocaptcha.php#L377>
- <https://wordpress.org/plugins/login-recaptcha/>
- <https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3549342%40login-recaptcha&new=3549342%40login-recaptcha&sfp_email=&sfph_mail=>

## Sources

- CVE List: [CVE-2026-2374](https://www.cve.org/CVERecord?id=CVE-2026-2374), CVE Terms of Use, modified 2026-05-28
- NVD: [CVE-2026-2374](https://nvd.nist.gov/vuln/detail/CVE-2026-2374), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-2374 · Whole record: https://cve.day/CVE-2026-2374.json · Rebuilt by cve.day 2026-11-25T22:59:22.715Z
