Severity by source
AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
8DescriptionCVE.org
The reCaptcha by WebDesignBy WordPress plugin before 2.0 does not sanitize or escape the Site Key setting before outputting it in a JavaScript string context via the grecaptcha_js() function. This allows administrators on multisite installations (who do not have the unfiltered_html capability) to inject arbitrary JavaScript that executes for all visitors to the WordPress login page.
AnalysisAI
reCaptcha by WebDesignBy WordPress plugin before version 2.0 fails to sanitize the Site Key setting before injecting it into JavaScript context via the grecaptcha_js() function, enabling site administrators without unfiltered_html capability on multisite installations to inject arbitrary JavaScript that executes for all login page visitors. Publicly available exploit code exists; patch released by vendor.
Technical ContextAI
The vulnerability stems from improper output escaping in a WordPress plugin that integrates Google reCaptcha functionality. The grecaptcha_js() function dynamically constructs JavaScript code that loads the reCaptcha library, incorporating the Site Key setting without proper sanitization or escaping. On WordPress multisite installations, site administrators have the ability to modify plugin settings but lack the unfiltered_html capability, which normally prevents direct code execution. This permission model gap allows an attacker with site admin privileges to inject malicious JavaScript into the Site Key field, which gets executed in the context of the grecaptcha.render() call. The injected code runs in the browser of all visitors to the login page, bypassing capability restrictions because the injection occurs at the template/output layer rather than being validated as user input. This is a stored cross-site scripting (XSS) vulnerability with a privileged insertion point.
RemediationAI
Update reCaptcha by WebDesignBy plugin to version 2.0 or later; vendor-released patch is available. Site administrators should immediately upgrade via the WordPress plugin management interface or download the patched version from the official WordPress plugin repository. For organizations unable to immediately update, disable the reCaptcha plugin entirely until the patch can be applied; this eliminates the attack surface but removes reCaptcha bot-detection functionality from the login page, potentially increasing brute-force attack risk - evaluate whether alternative bot-mitigation methods (login rate-limiting, CAPTCHA via alternative plugin, IP allowlisting) can compensate. Additionally, restrict the assignment of site administrator roles on multisite installations to only users with verified administrative intent, as site admins now represent a supply-chain trust boundary for this vulnerability.
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-25197
GHSA-gq9g-w427-pc6x