CVE-2026-2374: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in robertpeake Login No Captcha reCAPTCHA
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 Analysis
Technical Summary
CVE-2026-2374 describes a stored cross-site scripting vulnerability in the Login No Captcha reCAPTCHA WordPress plugin (up to version 1.8.0). The vulnerability arises from the authenticate() function storing the unsanitized basename of $_SERVER['PHP_SELF'] in the login_nocaptcha_error WordPress option when login attempts occur from non-standard pages like xmlrpc.php. The admin_notices() function then outputs this stored value directly into the admin dashboard HTML without escaping, allowing injection of arbitrary scripts. This can be triggered by unauthenticated attackers and affects administrators with whitelisted IPs who visit the dashboard shortly after the attack.
Potential Impact
Successful exploitation allows an unauthenticated attacker to inject and execute arbitrary JavaScript in the context of the WordPress admin dashboard. This can lead to limited confidentiality and integrity impacts, such as theft of admin session tokens or manipulation of admin interface content. The vulnerability does not impact availability. The CVSS 3.1 base score is 7.2 (High), reflecting network attack vector, no privileges required, no user interaction, and scope change.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, administrators should consider restricting access to the WordPress admin dashboard to trusted IPs and monitor for suspicious activity. Avoid visiting the admin dashboard from untrusted networks during the vulnerability window. Follow updates from the plugin vendor or WordPress security channels for patch availability.
CVE-2026-2374: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in robertpeake Login No Captcha reCAPTCHA
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 v3.1
Score 7.2high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-2374 describes a stored cross-site scripting vulnerability in the Login No Captcha reCAPTCHA WordPress plugin (up to version 1.8.0). The vulnerability arises from the authenticate() function storing the unsanitized basename of $_SERVER['PHP_SELF'] in the login_nocaptcha_error WordPress option when login attempts occur from non-standard pages like xmlrpc.php. The admin_notices() function then outputs this stored value directly into the admin dashboard HTML without escaping, allowing injection of arbitrary scripts. This can be triggered by unauthenticated attackers and affects administrators with whitelisted IPs who visit the dashboard shortly after the attack.
Potential Impact
Successful exploitation allows an unauthenticated attacker to inject and execute arbitrary JavaScript in the context of the WordPress admin dashboard. This can lead to limited confidentiality and integrity impacts, such as theft of admin session tokens or manipulation of admin interface content. The vulnerability does not impact availability. The CVSS 3.1 base score is 7.2 (High), reflecting network attack vector, no privileges required, no user interaction, and scope change.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, administrators should consider restricting access to the WordPress admin dashboard to trusted IPs and monitor for suspicious activity. Avoid visiting the admin dashboard from untrusted networks during the vulnerability window. Follow updates from the plugin vendor or WordPress security channels for patch availability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-02-11T20:47:31.042Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a182817e29bf47b50de6563
Added to database: 5/28/2026, 11:33:43 AM
Last enriched: 5/28/2026, 11:48:32 AM
Last updated: 5/29/2026, 12:58:26 PM
Views: 13
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.