Read the docs
TI-2021-07041 Aliases CVE-2021-24759GHSA-f8m6-8wfx-7hpr

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

VendorProductAffected versionsFixed inStatusSource
UnknownPDF.js Viewer2.0.2 to before 2.0.22.0.2Patch availableCNA
  • 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

CPEVersionsRoleVendor
cpe:2.3:a:pdf.js_viewer_project:pdf.js_viewer:*:*:*:*:*:wordpress:*:*before 2.0.2VulnerablePdf.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

  1. 2026-10-02 Threatist record created from CVE-2021-24759
  2. 2026-10-03 Alias added: GHSA-f8m6-8wfx-7hpr
  3. 2026-11-04 EPSS moved to the 50th–90th percentile

References

  • TI-2022-04268 PDF.js Viewer < 2.1.8 - Contributor+ Stored XSS via Shortcode CVSS 3.1MEDIUM 5.4

Sources