YouTube Embed < 5.2.2 - Contributor+ Stored XSS
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-79.
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).
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Unknown | YouTube Embed | 5.2.2 to before 5.2.2 | 5.2.2 | Patch available | CNA |
- YouTube Embed VendorUnknown Affected 5.2.2 to before 5.2.2 Fixed in 5.2.2 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:youtube_embed_project:youtube_embed:*:*:*:*:*:wordpress:*:* | before 5.2.2 | Vulnerable | Youtube Embed Project |
- cpe:2.3:a:youtube_embed_project:youtube_embed:*:*:*:*:*:wordpress:*:* Versions before 5.2.2 Vulnerable ·Youtube Embed Project
Remediation
- Fix · CNA YouTube Embed (Unknown) Fixed in 5.2.2
Timeline
- 2026-10-02 Threatist record created from CVE-2021-24471
- 2026-10-03 Alias added: GHSA-43j4-9r7h-9m29
References
More Youtube Embed Project Youtube Embed vulnerabilities
- TI-2015-05488 Cross-site scripting (XSS) vulnerability in includes/options-profiles.php in the YouTube… CVSS 2.0LOW 3.5
Sources
- CVE-2021-24471 · CVE Program
- CVE-2021-24471 · NVD
- FIRST EPSS
- GHSA-43j4-9r7h-9m29 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences