{"id":"CVE-2021-24471","aliases":["CVE-2021-24471"],"related":[],"kind":"vulnerability","state":"published","title":"YouTube Embed < 5.2.2 - Contributor+ Stored XSS","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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).","source":"cvelist"},{"lang":"es","text":"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).","source":"nvd"}],"published":"2021-08-16T10:48:22.000Z","modified":"2026-06-17T03:40:05.443Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:H/Au:S/C:N/I:P/A:N","score":2.1,"rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"5.2.2","fixed":"5.2.2","status":"affected"}],"vendor":"Unknown","product":"YouTube Embed","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.2.2"}],"vendor":"youtube_embed_project","product":"youtube_embed","cpe":"cpe:2.3:a:youtube_embed_project:youtube_embed:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://wpscan.com/vulnerability/a8ccb09a-9f8c-448f-b2d0-9b01c3a748ac","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["apple502j"],"assigner":"WPScan","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-24471","url":"https://www.cve.org/CVERecord?id=CVE-2021-24471","licence":"CVE Terms of Use","modified":"2024-08-03T19:35:19.727Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-24471","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24471","licence":"Public domain","modified":"2026-06-17T03:40:05.443Z"}],"updatedAt":"2026-11-25T22:58:03.244Z","epss":{"score":0.00577,"percentile":0.48907,"date":"2026-12-01T12:00:22.000Z"}}