CVE-2012-2404 Cross-site scripting in n/a

Medium 4.3 Published Updated

Remote attackers can conduct cross-site scripting attacks via offsite redirects in WordPress comments, requiring user interaction to exploit.

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
Available

What is CVE-2012-2404?

CVE-2012-2404 is a medium-severity cross-site scripting vulnerability in Wordpress Wordpress, published on 21 Apr 2012. 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

wp-comments-post.php in WordPress before 3.3.2 supports offsite redirects, which makes it easier for remote attackers to conduct cross-site scripting (XSS) attacks via unspecified vectors.

Weakness: CWE-79

Which versions are affected by CVE-2012-2404?

It affects 1 product.

Products include Wordpress Wordpress.

How do I fix CVE-2012-2404?

Upgrade to a fixed version.

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-2012-2404 being exploited?

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

All Wordpress Wordpress vulnerabilities

Sources

Also known as DEBIAN-CVE-2012-2404, GHSA-grx2-xpgf-hf3r.

Is CVE-2012-2404 in your software?

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

Check your SBOMs for free