CVE-2022-4670
Medium
Description
The PDF.js Viewer WordPress plugin before 2.1.8 does not validate and escape some of its shortcode attributes before outputting them back in a page/post where the shortcode is embed, which could allow users with the contributor role and above to perform Stored Cross-Site Scripting attacks.
SeverityMedium
CVSS5.4
Exploit probability—
ProductPdf.js Viewer
PublishedFeb 6, 2023
First seenFeb 6, 2023
Weakness typeCWE-79Cross-site scripting (XSS)
How to fix
Update
- pdf.js_viewer_project pdf.js_viewer2.1.8 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pdf.js_viewer_project pdf.js_viewer | v < 2.1.8 | 2.1.8 |
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.