All CVEs / Pdf.js Viewer Project
CVE-2021-24759Pdf.js Viewer Project Pdf.js Viewer
Medium 5.4
Follow: this CVE · Pdf.js Viewer Project · Pdf.js Viewer Project Pdf.js Viewer We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 51
- Auth required
- Yes
- Published
- Dec 6, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
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
What to do
- Apply the vendor's security update for Pdf.js Viewer.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pdf.js_viewer_project | pdf.js_viewer | < 2.0.2 |
Official sources
References
Links published by the sources. Open them with care.
- wpscan.com Exploit Third Party Advisory