CVE-2021-24412 Html5 Audio Player < 2.1.3 - Contributor+ Stored Cross-Site Scripting

Medium 5.4 Published Updated

Contributors can inject malicious scripts via shortcode parameters in the Html5 Audio Player WordPress plugin, leading to stored XSS attacks.

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-24412?

CVE-2021-24412 is a medium-severity cross-site scripting vulnerability in Unknown Html5 Audio Player – Audio Player for WordPress, published on 18 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 Html5 Audio Player – Audio Player for WordPress plugin before 2.1.3 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-24412?

It affects 1 product.

Products include Bplugins Html5 Audio Player.

How do I fix CVE-2021-24412?

No fix has been published for CVE-2021-24412 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-24412 being exploited?

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

Sources

Also known as GHSA-cq83-pmg7-mjwj.

Is CVE-2021-24412 in your software?

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

Check your SBOMs for free