CVE-2017-6814 Cross-site scripting in n/a

Medium 5.4 Published Updated

Authenticated attackers can inject malicious scripts via media file metadata in WordPress, potentially leading to session hijacking or code execution.

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-2017-6814?

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

Official description

In WordPress before 4.7.3, there is authenticated Cross-Site Scripting (XSS) via Media File Metadata. This is demonstrated by both (1) mishandling of the playlist shortcode in the wp_playlist_shortcode function in wp-includes/media.php and (2) mishandling of meta information in the renderTracks function in wp-includes/js/mediaelement/wp-playlist.js.

Weakness: CWE-79

Which versions are affected by CVE-2017-6814?

It affects 2 products.

Products include Debian Debian Linux, Wordpress Wordpress.

How do I fix CVE-2017-6814?

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-2017-6814 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-6814, GHSA-4h7x-7f94-8hcj, UBUNTU-CVE-2017-6814.

Is CVE-2017-6814 in your software?

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

Check your SBOMs for free