CVE-2026-2374
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
2(expand)+ 1 more
- (no CPE)
- (no CPE)range: <=1.8.0
Patches
Vulnerability mechanics
References
7- plugins.trac.wordpress.org/browser/login-recaptcha/tags/1.7.3/login-nocaptcha.phpnvd
- plugins.trac.wordpress.org/browser/login-recaptcha/tags/1.7.3/login-nocaptcha.phpnvd
- plugins.trac.wordpress.org/browser/login-recaptcha/trunk/login-nocaptcha.phpnvd
- plugins.trac.wordpress.org/browser/login-recaptcha/trunk/login-nocaptcha.phpnvd
- plugins.trac.wordpress.org/changesetnvd
- wordpress.org/plugins/login-recaptcha/nvd
- www.wordfence.com/threat-intel/vulnerabilities/id/99dfce3b-2b47-41bf-8b20-b53fb9f061a7nvd
News mentions
1- Wordfence Intelligence Weekly WordPress Vulnerability Report (May 25, 2026 to May 31, 2026)Wordfence Blog · Jun 4, 2026