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

Medium severity, CVSS 5.4. EPSS: 0.6% chance of exploitation in the next 30 days.

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

Affected products

Published 2021-12-06. Last modified 2026-06-17.