CVE-2021-24414 YT Player < 1.4 - Contributor+ Stored Cross-Site Scripting

Medium 5.4 Published Updated

Contributors can inject malicious scripts via YouTube player shortcodes, leading to stored XSS attacks on WordPress sites.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-24414?

CVE-2021-24414 is a medium-severity cross-site scripting vulnerability in Unknown Video Player for YouTube, published on 25 Oct 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

The Video Player for YouTube WordPress plugin before 1.4 does not sanitise or validate the parameters from its shortcode, allowing users with a role as low as contributor to set Cross-Site Scripting payload in them which will be triggered in the page/s with the embed malicious shortcode

Weakness: CWE-79

Which versions are affected by CVE-2021-24414?

It affects 1 product.

Products include Video Player for Youtube Project Video Player for Youtube.

How do I fix CVE-2021-24414?

No fix has been published for CVE-2021-24414 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2021-24414 being exploited?

There is no known exploitation of CVE-2021-24414 in the wild and no public exploit code.

Sources

Also known as GHSA-73w3-w58j-9gvg.

Is CVE-2021-24414 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free