Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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