Skip to content

CVE-2021-24471 YouTube Embed < 5.2.2 - Contributor+ Stored XSS

MediumCVSS 5.4 EPSS 0.58%
Published
Updated
Exploit status
No public exploit known
Technology
WordPress

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

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
wordpress youtube-embed(WordPress) < 5.2.2 5.2.2 Fixed
youtube embed project youtube embed < 5.2.2 5.2.2 Fixed

Affected products

ProductAffected versionsFixed in
wordpress youtube-embed(WordPress) < 5.2.2 5.2.2
youtube embed project youtube embed < 5.2.2 5.2.2

References