CVE-2021-24759
Medium
Description
The PDF.js Viewer WordPress plugin before 2.0.2 does not escape some of its shortcode and Gutenberg Block attributes, which could allow users with a role as low as Contributor to to perform Cross-Site Scripting attacks
SeverityMedium
CVSS5.4
Exploit probability—
ProductPdf.js Viewer
PublishedDec 6, 2021
First seenDec 6, 2021
Weakness typeCWE-79Cross-site scripting (XSS)
How to fix
Update
- pdf.js_viewer_project pdf.js_viewer2.0.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pdf.js_viewer_project pdf.js_viewer | v < 2.0.2 | 2.0.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.