CVE-2021-23414 Cross-site Scripting (XSS)

Medium 6.5 Published Updated

Attackers can execute arbitrary code via the track tag src attribute in the video.js library, requiring an upgrade to mitigate.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-23414?

CVE-2021-23414 is a medium-severity cross-site scripting vulnerability in Fedoraproject Fedora, published on 28 Jul 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

This affects the package video.js before 7.14.3. The src attribute of track tag allows to bypass HTML escaping and execute arbitrary code.

Weakness: CWE-79

Which versions are affected by CVE-2021-23414?

2 open source packages ship an affected version, including video.js. It affects 2 products.

PackageAffectedFixed in
video.js npmAll versions7.14.3
video.js npmAll versions7.14.3

Products include Fedoraproject Fedora, Videojs Video.js.

How do I fix CVE-2021-23414?

Upgrade video.js to 7.14.3 or later.

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-23414 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as GHSA-pp7m-6j83-m7r6.

Is CVE-2021-23414 in your software?

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

Check your SBOMs for free