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

Medium 4.8 Published Updated

Remote attackers can inject arbitrary web script or HTML by tricking an administrator into uploading an image with a crafted filename.

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

What is CVE-2016-7168?

CVE-2016-7168 is a medium-severity cross-site scripting vulnerability in Wordpress Wordpress, published on 5 Jan 2017. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Cross-site scripting (XSS) vulnerability in the media_handle_upload function in wp-admin/includes/media.php in WordPress before 4.6.1 might allow remote attackers to inject arbitrary web script or HTML by tricking an administrator into uploading an image file that has a crafted filename.

Weakness: CWE-79

Which versions are affected by CVE-2016-7168?

It affects 1 product.

Products include Wordpress Wordpress.

How do I fix CVE-2016-7168?

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

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

All Wordpress Wordpress vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-7168, GHSA-ffr7-33wh-7g9r, UBUNTU-CVE-2016-7168.

Is CVE-2016-7168 in your software?

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

Check your SBOMs for free