vulnerability

WordPress Plugin: youtube-embed: CVE-2021-24471: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Severity
2
CVSS
(AV:N/AC:H/Au:S/C:N/I:P/A:N)
Published
Jul 19, 2021
Added
May 15, 2025
Modified
Apr 29, 2026

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).

Solution

youtube-embed-plugin-cve-2021-24471
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.