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

Medium 6.1 Published Updated

Remote attackers can inject arbitrary web script or HTML via long comments in WordPress due to improper storage handling.

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-2015-8834?

CVE-2015-8834 is a medium-severity cross-site scripting vulnerability in Wordpress Wordpress, published on 22 May 2016. 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

Cross-site scripting (XSS) vulnerability in wp-includes/wp-db.php in WordPress before 4.2.2 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. NOTE: this vulnerability exists because of an incomplete fix for CVE-2015-3440.

Weakness: CWE-79

Which versions are affected by CVE-2015-8834?

It affects 1 product.

Products include Wordpress Wordpress.

How do I fix CVE-2015-8834?

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-8834 being exploited?

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

All Wordpress Wordpress vulnerabilities

Sources

Also known as DEBIAN-CVE-2015-8834, GHSA-c2wg-9wh8-qj37.

Is CVE-2015-8834 in your software?

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

Check your SBOMs for free