Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
5.4

CVE-2017-6817: WordPress permits harmful YouTube embed to execute code

CVE-2017-6817 · published 9 years ago
Summary

Versions of WordPress earlier than 4.7.3 let a logged‑in user place a crafted YouTube link that can run unwanted scripts in a browser. This could let an attacker display false information or capture session data from other users. Upgrade WordPress to the latest version (or apply the security patch) and ensure any Debian WordPress packages are also updated.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
VendorProductAffected versions
wordpress wordpress <= 4.7.2
cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
debian debian_linux 8.0
9.0
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
Original advisory text
In WordPress before 4.7.3 (wp-includes/embed.php), there is authenticated Cross-Site Scripting (XSS) in YouTube URL Embeds.
In WordPress before 4.7.3 (wp-includes/embed.php), there is authenticated Cross-Site Scripting (XSS) in YouTube URL Embeds.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit (estimated)
  • Gives an attacker partial control (estimated)
Severity
5.4 Medium
Exploitation
2% chance of attack within 30 days
Type
CWE-79Cross-site Scripting (XSS)
Timeline
Published12 Mar 2017
Updated4 Nov 2026
First seen29 Sep 2026
Sources
CVE-2017-6817 · NVD
Track software like this
Free during beta