CVE-2026-2502 xmlrpc attacks blocker <= 1.0 - Unauthenticated Stored Cross-Site Scripting via 'X-Forwarded-For'

Medium 6.1 Published Updated

Unauthenticated attackers can inject scripts via X-Forwarded-For headers that execute when administrators view debug logs, potentially leading to account takeover.

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

What is CVE-2026-2502?

CVE-2026-2502 is a medium-severity cross-site scripting vulnerability in yehudah xmlrpc attacks blocker, published on 19 Feb 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The xmlrpc attacks blocker plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 1.0, via the 'X-Forwarded-For' HTTP header. This is due to the plugin trusting and logging attacker-controlled IP header data and rendering debug log entries without output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute when an administrator views the debug log page.

Weakness: CWE-79

Which versions are affected by CVE-2026-2502?

How do I fix CVE-2026-2502?

No fix has been published for CVE-2026-2502 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-2502 being exploited?

There is no known exploitation of CVE-2026-2502 in the wild and no public exploit code.

Sources

Also known as GHSA-m9jv-r277-q8wc.

Is CVE-2026-2502 in your software?

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

Check your SBOMs for free