Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/login-recaptcha/tags/1.7.3/login-noca
- https://plugins.trac.wordpress.org/browser/login-recaptcha/tags/1.7.3/login-noca
- https://plugins.trac.wordpress.org/browser/login-recaptcha/trunk/login-nocaptcha
- https://plugins.trac.wordpress.org/browser/login-recaptcha/trunk/login-nocaptcha
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old
- https://wordpress.org/plugins/login-recaptcha/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/99dfce3b-2b47-41bf-8b2
FAQ
What is CVE-2026-2374?
CVE-2026-2374 is a vulnerability with a CVSS score of 7.2 (HIGH). 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 ...
How severe is CVE-2026-2374?
CVE-2026-2374 has been rated HIGH with a CVSS base score of 7.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-2374?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.