CVE-2015-3440 Cross-site scripting in n/a

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script or HTML via long comments in WordPress, potentially leading to session hijacking or malicious actions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2015-3440?

CVE-2015-3440 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 3 Aug 2015. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Cross-site scripting (XSS) vulnerability in wp-includes/wp-db.php in WordPress before 4.2.1 allows remote attackers to inject arbitrary web script or HTML via a long comment that is improperly stored because of limitations on the MySQL TEXT data type.

Weakness: CWE-79

Which versions are affected by CVE-2015-3440?

It affects 2 products.

Products include Debian Debian Linux, Wordpress Wordpress.

How do I fix CVE-2015-3440?

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-2015-3440 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2015-3440, GHSA-xg6f-394q-j4f9, MGASA-2015-0202.

Is CVE-2015-3440 in your software?

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

Check your SBOMs for free