CVE-2021-24760 Gutenberg PDF Viewer Block < 1.0.1 - Contributor+ Stored Cross-Site Scripting
Contributors can inject malicious scripts via the Gutenberg PDF Viewer Block, potentially compromising user sessions or site integrity.
- 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-24760?
CVE-2021-24760 is a medium-severity cross-site scripting vulnerability in Unknown Gutenberg PDF Viewer Block, 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 Gutenberg PDF Viewer Block WordPress plugin before 1.0.1 does not sanitise and escape its block, 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-24760?
It affects 1 product.
Products include Pdf Viewer Block for Gutenberg Project Pdf Viewer Block for Gutenberg.
How do I fix CVE-2021-24760?
No fix has been published for CVE-2021-24760 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-24760 being exploited?
There is no known exploitation of CVE-2021-24760 in the wild and no public exploit code.
Sources
Also known as GHSA-mv5h-6x7w-c8pm.