5.4medium
YouTube Embed < 5.2.2 - Contributor+ Stored XSS
- Severity
- 5.4medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.58% (higher than 48% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- WPScan
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
| Product or package | Versions | Reported by |
|---|---|---|
| Unknown YouTube Embed | from 5.2.2 before 5.2.2 | CVE List |
| youtube_embed_project youtube_embed | before 5.2.2 | NVD |
All scores
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.1low CVSS:2.0 | AV:N/AC:H/Au:S/C:N/I:P/A:N |
Classification
What each source says
CVE List
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).
NVD (es)
El plugin YouTube Embed WordPress versiones anteriores a 5.2.2, no comprueba, escapa o sanea algunos de sus atributos de shortcode, conllevando a problemas de tipo XSS Almacenado al 1. Usar los parámetros w, h, controls, cc_lang, color, language, start, stop, o style del shortcode youtube, 2. usar los parámetros style, class, rel, target, width, height, o alt del shortcode youtube_thumb, o 3. insertar un vídeo cuyo título o descripción contenga carga útil de tipo XSS (si la clave API está configurada).
References
| https://wpscan.com/vulnerability/a8ccb09a-9f8c-448f-b2d0-9b01c3a748ac | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-24471 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-24471 changed 2026-06-17 | Public domain |