PDF.js Viewer < 2.0.2 - Contributor+ Stored Cross-Site Scripting
Priority LOW 25CWE-79Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-79.
Summary
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
Why it matters now
EPSS 0.00624 50th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed PDF.js Viewer (Unknown): 2.0.2
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Unknown | PDF.js Viewer | 2.0.2 to before 2.0.2 | 2.0.2 | Patch available | CNA |
- PDF.js Viewer VendorUnknown Affected 2.0.2 to before 2.0.2 Fixed in 2.0.2 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:pdf.js_viewer_project:pdf.js_viewer:*:*:*:*:*:wordpress:*:* | before 2.0.2 | Vulnerable | Pdf.js Viewer Project |
- cpe:2.3:a:pdf.js_viewer_project:pdf.js_viewer:*:*:*:*:*:wordpress:*:* Versions before 2.0.2 Vulnerable ·Pdf.js Viewer Project
Remediation
- Fix · CNA PDF.js Viewer (Unknown) Fixed in 2.0.2
Timeline
- 2026-10-02 Threatist record created from CVE-2021-24759
- 2026-10-03 Alias added: GHSA-f8m6-8wfx-7hpr
- 2026-11-04 EPSS moved to the 50th–90th percentile
References
More Pdf.js Viewer Project Pdf.js Viewer vulnerabilities
- TI-2022-04268 PDF.js Viewer < 2.1.8 - Contributor+ Stored XSS via Shortcode CVSS 3.1MEDIUM 5.4
Sources
- CVE-2021-24759 · CVE Program
- CVE-2021-24759 · NVD
- FIRST EPSS
- GHSA-f8m6-8wfx-7hpr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences