CVE-2022-4670 PDF.js Viewer < 2.1.8 - Contributor+ Stored XSS via Shortcode
MediumCVSS 5.4
EPSS 0.56%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| wordpress pdfjs-viewer-shortcode(WordPress) | < 2.1.8 | 2.1.8 |
| pdf.js viewer project pdf.js viewer | < 2.1.8 | 2.1.8 |
References
- wpscan.com exploit technical-description third-party-advisory vdb-entry
- Wordfence Intelligence third-party-advisory
- www.cve.org