CVE-2021-24471

YouTube Embed < 5.2.2 - Contributor+ Stored XSS

No CVSS score yet EPSS 0.58%

Published 16 Aug 2021 Updated 3 Aug 2024 CNA: WPScan

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

Exploitation

EPSS 0.58%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 48.9% of all scored CVEs. Scores of 2 Dec 2026.

Weakness

  • CWE-79 Improper Neutralization of Input During Web Page Generation

Affected products

As the CNA lists them.

ProductVersions
YouTube Embed
Unknown
affected from 5.2.2, before 5.2.2

Is my server affected?

This CVE is in a product, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Other references

Source: the record CVE-2021-24471 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.