CVE-2021-24471
MEDIUM 5.4CVSS 3.1The 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).
- Published
- 16 Aug 2021
- Last modified
- 17 Jun 2026
- Assigned by
- contact@wpscan.com
- NVD status
- Modified
- Weakness
- CWE-79
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 2.1 | AV:N/AC:H/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | youtube_embed_project | youtube_embedcpe:2.3:a:youtube_embed_project:youtube_embed:*:*:*:*:*:wordpress:*:* |
< 5.2.2 | 5.2.2 |
References
- https://wpscan.com/vulnerability/a8ccb09a-9f8c-448f-b2d0-9b01c3a748ac · Exploit, Third Party Advisory
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 16 Aug 2021)