CVE-2021-24540 Wonder Video Embed < 1.8 - Contributor+ Stored XSS
Contributors can inject malicious scripts via the video embed shortcode, potentially leading to session hijacking or site defacement.
- 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-24540?
CVE-2021-24540 is a medium-severity cross-site scripting vulnerability in Unknown Wonder Video Embed, published on 16 Aug 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 Wonder Video Embed WordPress plugin before 1.8 does not escape parameters of its wonderplugin_video shortcode, which could allow users with a role as low as Contributor to perform Stored XSS attacks.
Weakness: CWE-79
Which versions are affected by CVE-2021-24540?
It affects 1 product.
Products include Wonderplugin Wonder Video Embed.
How do I fix CVE-2021-24540?
No fix has been published for CVE-2021-24540 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-24540 being exploited?
There is no known exploitation of CVE-2021-24540 in the wild and no public exploit code.
Sources
Also known as GHSA-vmj7-5m4c-5xj8.