Live threats

All CVEs / Pdf.js Viewer Project

CVE-2021-24759Pdf.js Viewer Project Pdf.js Viewer

Medium 5.4

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Pdf.js Viewer.

Affected products (CPE)

VendorProductVersions
pdf.js_viewer_projectpdf.js_viewer< 2.0.2

Official sources

References

Links published by the sources. Open them with care.