CVE-2021-24471

published 16 Aug 2021 · updated 3 Aug 2024

YouTube Embed < 5.2.2 - Contributor+ Stored XSS

5.0MediumEPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 5.2.2.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
>=5.2.2 <5.2.25.2.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-24471 severity on Zeptric[![CVE-2021-24471](https://zeptric.io/badge/cve/CVE-2021-24471.svg)](https://zeptric.io/cve/CVE-2021-24471)