CVE-2022-4670Published Feb 6, 2023 · Feb 6Updated Jun 17
PDF.js Viewer < 2.1.8 - Contributor+ Stored XSS via Shortcode
PDF.js Viewer
Medium5.4
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Unknown PDF.js Viewer |
| No fix yet |
Original 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.
From the CVE record · WPScan