CVE-2016-1564 Cross-site scripting in n/a

Medium 6.1 Published Updated

Remote attackers can inject arbitrary web script or HTML via stylesheet or template names in the WordPress customizer, potentially leading to code execution.

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-2016-1564?

CVE-2016-1564 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

Multiple cross-site scripting (XSS) vulnerabilities in wp-includes/class-wp-theme.php in WordPress before 4.4.1 allow remote attackers to inject arbitrary web script or HTML via a (1) stylesheet name or (2) template name to wp-admin/customize.php.

Weakness: CWE-79

Which versions are affected by CVE-2016-1564?

It affects 1 product.

Products include Wordpress Wordpress.

How do I fix CVE-2016-1564?

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-2016-1564 being exploited?

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

All Wordpress Wordpress vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-1564, DSA-3444-1, GHSA-9575-g3v2-v59w.

Is CVE-2016-1564 in your software?

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

Check your SBOMs for free