Description
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.
Published: 2026-04-23
Score: 3.5 Low
EPSS: < 1% Very Low
KEV: No
Impact: Stored XSS affecting all visitors to the WordPress login page
Action: Patch Now
AI Analysis

Impact

The reCaptcha by WebDesignBy WordPress plugin version 1.x mishandles the Site Key setting, embedding it unescaped into a JavaScript string through the grecaptcha_js() function. This flaw allows a user with administrative privileges on a multisite installation to insert arbitrary JavaScript that is rendered for every visitor to the site’s login page. The injected code runs with the context of the page and can steal session cookies, launch phishing attacks, or redirect users to malicious sites, thereby compromising the confidentiality and integrity of the login process.

Affected Systems

WordPress sites that have installed the reCaptcha by WebDesignBy plugin with a version prior to 2.0, particularly those configured on a multisite network where administrators lack the unfiltered_html capability. Any installation using this plugin and targeting the login page is at risk.

Risk and Exploitability

The overall CVSS v3.1 score is 3.5, indicating a moderate severity, and the EPSS probability falls below 1%, suggesting that exploitation is unlikely though not impossible. The vulnerability is not listed in the CISA KEV catalog. The attack requires administrator access to the WordPress backend; the attacker injects the malicious payload via the Site Key setting in the plugin configuration. Once injected, the malicious JavaScript executes for all end users accessing the login page, offering a broad exposure surface for credential theft or further social engineering. Because the flaw is confined to a configuration setting and requires elevated privileges, the practical risk is limited to sites with compromised or inadvertently overly permissive admin accounts.

Generated by OpenCVE AI on April 28, 2026 at 14:58 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the reCaptcha by WebDesignBy WordPress plugin to version 2.0 or later.
  • If an immediate upgrade is not possible, disable or remove the reCaptcha feature from the login page to eliminate the injected code vector.
  • Conduct a site‑wide security review to ensure no residual or alternate JavaScript injections remain and verify that the login page loads only trusted scripts.

Generated by OpenCVE AI on April 28, 2026 at 14:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 28 Apr 2026 09:45:00 +0000

Type Values Removed Values Added
First Time appeared Webdesignby
Webdesignby recaptcha By Webdesignby
Wordpress
Wordpress wordpress
Vendors & Products Webdesignby
Webdesignby recaptcha By Webdesignby
Wordpress
Wordpress wordpress

Thu, 23 Apr 2026 18:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-79

Thu, 23 Apr 2026 13:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 3.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 23 Apr 2026 06:30:00 +0000

Type Values Removed Values Added
Description 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.
Title WP reCaptcha by WebDesignBy < 2.0 – Admin+ Stored XSS
References

Subscriptions

Webdesignby Recaptcha By Webdesignby
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-04-23T15:50:03.992Z

Reserved: 2026-03-20T14:28:42.326Z

Link: CVE-2026-4512

cve-icon Vulnrichment

Updated: 2026-04-23T13:02:39.520Z

cve-icon NVD

Status : Deferred

Published: 2026-04-23T07:16:41.933

Modified: 2026-04-23T18:16:30.190

Link: CVE-2026-4512

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-28T15:00:14Z

Weaknesses