CVE-2021-24471
JSON

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 packageVersionsReported by
Unknown YouTube Embedfrom 5.2.2 before 5.2.2CVE List
youtube_embed_project youtube_embedbefore 5.2.2NVD

All scores

NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD2.1low CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2021-24471 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-24471 changed 2026-06-17Public domain