CVE-2026-4512 WP reCaptcha by WebDesignBy < 2.0 – Admin+ Stored XSS

Low 3.5 Published Updated

Administrators on multisite installations can inject arbitrary JavaScript into the login page via the Site Key setting, affecting all visitors.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-4512?

CVE-2026-4512 is a low-severity cross-site scripting vulnerability in Unknown reCaptcha by WebDesignBy, published on 23 Apr 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-79

Which versions are affected by CVE-2026-4512?

How do I fix CVE-2026-4512?

No fix has been published for CVE-2026-4512 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-4512 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-4512 exists.

Sources

Also known as GHSA-gq9g-w427-pc6x.

Is CVE-2026-4512 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free