CVE-2021-24759 PDF.js Viewer < 2.0.2 - Contributor+ Stored Cross-Site Scripting
MediumCVSS 5.4
EPSS 0.62%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- WordPress
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
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pdf.js viewer project pdf.js viewer | < 2.0.2 | 2.0.2 | Fixed |
| wordpress pdfjs-viewer-shortcode(WordPress) | < 2.0.2 | 2.0.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pdf.js viewer project pdf.js viewer | < 2.0.2 | 2.0.2 |
| wordpress pdfjs-viewer-shortcode(WordPress) | < 2.0.2 | 2.0.2 |
References
- wpscan.com exploit third-party-advisory
- Wordfence Intelligence third-party-advisory
- www.cve.org