Vulnerability · Published Aug 16, 2021 · Assigned by WPScan
CVE-2021-24471YouTube Embed < 5.2.2 - Contributor+ Stored XSS
Medium 5.4
In plain English
A medium-severity cross-site scripting in YouTube Embed from Unknown. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities).
Official description
The YouTube Embed WordPress plugin before 5.2.2 does not validate, escape or sanitise some of its shortcode attributes, leading to Stored XSS issues by 1. using w, h, controls, cc_lang, color, language, start, stop, or style parameter of youtube shortcode, 2. by using style, class, rel, target, width, height, or alt parameter of youtube_thumb shortcode, or 3. by embedding a video whose title or description contains XSS payload (if API key is configured).
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Unknown | YouTube Embed | 5.2.2 – before 5.2.2 |
Weakness: CWE-79