CVE-2021-24751 GenerateBlocks < 1.4.0 - Contributor+ Stored Cross-Site Scripting
Contributors can inject malicious scripts via the container block's tagName attribute, allowing attackers to execute code in victim browsers.
- 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-24751?
CVE-2021-24751 is a medium-severity cross-site scripting vulnerability in Unknown GenerateBlocks, published on 29 Nov 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 GenerateBlocks WordPress plugin before 1.4.0 does not validate the generateblocks/container block's tagName attribute, which could allow users with a role as low as contributor to perform Cross-Site Scripting attacks.
Weakness: CWE-79
Which versions are affected by CVE-2021-24751?
It affects 1 product.
Products include Generateblocks Generateblocks.
How do I fix CVE-2021-24751?
No fix has been published for CVE-2021-24751 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-24751 being exploited?
There is no known exploitation of CVE-2021-24751 in the wild and no public exploit code.
Sources
Also known as GHSA-f648-43x4-7j96.