Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

vulnerability

WordPress Plugin: pdfjs-viewer-shortcode: CVE-2021-24759: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Severity
3
CVSS
(AV:N/AC:M/Au:S/C:N/I:P/A:N)
Published
Aug 11, 2021
Added
May 15, 2025
Modified
Apr 30, 2026

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

Solution

pdfjs-viewer-shortcode-plugin-cve-2021-24759
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.