{"id":"CVE-2021-24471","aliases":["EUVD-2021-11383","GHSA-43j4-9r7h-9m29"],"status":"published","title":"YouTube Embed \u003c 5.2.2 - Contributor+ Stored XSS","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).","severity":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.00577,"percentile":0.48033,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2021-08-16T10:48:22Z","modified":"2026-06-17T03:40:05Z","products":[{"vendor":"embeds for youtube plugin support","product":"youtube embed"},{"vendor":"unknown","product":"youtube embed"},{"vendor":"youtube_embed_project","product":"youtube_embed"}],"references":[{"url":"https://wpscan.com/vulnerability/a8ccb09a-9f8c-448f-b2d0-9b01c3a748ac","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24471"},{"url":"https://github.com/advisories/GHSA-43j4-9r7h-9m29"}],"sources":{"cve":[{"id":"CVE-2021-24471","title":"YouTube Embed \u003c 5.2.2 - Contributor+ Stored XSS","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).","status":"published","published":"2021-08-16T10:48:22Z","modified":"2024-08-03T19:35:19.727Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:33:05.000797Z"}],"euvd":[{"id":"EUVD-2021-11383","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).","status":"published","published":"2021-08-16T10:48:22Z","modified":"2024-08-03T19:35:19Z","updated_at":"2026-11-03T03:24:57.403647Z"}],"ghsa":[{"id":"GHSA-43j4-9r7h-9m29","title":"The YouTube Embed WordPress plugin before 5.2.2 does not validate, escape or sanitise some of its...","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).","status":"published","published":"2022-05-24T19:11:18Z","modified":"2023-01-30T05:01:35Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:46:26.483285Z"}],"nvd":[{"id":"CVE-2021-24471","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).","status":"published","published":"2021-08-16T11:15:08.447Z","modified":"2026-06-17T03:40:05.443Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":2.1,"vector":"AV:N/AC:H/Au:S/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:06:56.943671Z"}]}}
