YouTube Embed <= 5.2.1 - Contributor+ Stored Cross-Site Scripting
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).
CVE-2021-24471 is a medium severity with CVSS 6.4 Stored Cross-Site Scripting issue affecting the Plugin Embeds for YouTube. It affects Versions up to 5.2.1 and is fixed in 5.2.2.
CVE-2021-24471 is tracked for the Plugin Embeds for YouTube as medium severity with CVSS 6.4. The affected range is Versions up to 5.2.1. Update Embeds for YouTube to 5.2.2 or newer where that version is compatible with the site.
| Software Type | Plugin |
|---|---|
| Software Slug |
youtube-embed
View on wordpress.org
|
| CVE | CVE-2021-24471 |
| Patched Versions |
5.2.2
|
| Affected Versions |
Versions up to 5.2.1
|
Related CVEs for Embeds for YouTube
These internal links group the same WordPress plugin by CVE, issue type, severity, and patch status so operators and search engines can connect the full vulnerability cluster.
YouTube Embed <= 5.4 - Authenticated (Contributor+) Stored Cross-Site Scripting
YouTube Embed <= 3.3.2 - Cross-Site Scripting
YouTube Embed <= 5.3.1 - Authenticated (Administrator+) Stored Cross-Site Scripting
This record contains material that is subject to copyright
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. Read more
License: CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. Read more