PT-2021-15995 · WordPress · Youtube Embed Wordpress Plugin

Apple502J

·

Published

2021-08-16

·

Updated

2021-08-23

·

CVE-2021-24471

CVSS v3.1

5.4

Medium

VectorAV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions YouTube Embed WordPress plugin versions prior to 5.2.2
Description The issue arises from the plugin's failure to validate, escape, or sanitize certain shortcode attributes, leading to Stored XSS issues. This can occur through various means, including using specific parameters of the youtube shortcode, such as w, h, controls, cc lang, color, language, start, stop, or style, or parameters of the youtube thumb shortcode, such as style, class, rel, target, width, height, or alt. Additionally, embedding a video with a title or description containing an XSS payload can also lead to issues if an API key is configured.
Recommendations For versions prior to 5.2.2, update to version 5.2.2 or later to resolve the issue. As a temporary workaround, consider disabling the use of vulnerable shortcode attributes until a patch is available. Restrict access to the youtube and youtube thumb shortcodes to minimize the risk of exploitation. Avoid using parameters such as w, h, controls, cc lang, color, language, start, stop, or style in the youtube shortcode, and style, class, rel, target, width, height, or alt in the youtube thumb shortcode, until the issue is resolved.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-24471

Affected Products

Youtube Embed Wordpress Plugin