PT-2021-16260 · WordPress · Pdf.Js Viewer

Apple502J

·

Published

2021-12-06

·

Updated

2021-12-06

·

CVE-2021-24759

CVSS v3.1

5.4

Medium

VectorAV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions: PDF.js Viewer WordPress plugin versions prior to 2.0.2
Description: The issue concerns the PDF.js Viewer WordPress plugin, where certain shortcode and Gutenberg Block attributes are not properly escaped. This could allow users with a role as low as Contributor to perform Cross-Site Scripting attacks.
Recommendations: For versions prior to 2.0.2, update to version 2.0.2 or later to resolve the issue. As a temporary workaround, consider restricting the use of shortcodes and Gutenberg Blocks to minimize the risk of exploitation.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-24759

Affected Products

Pdf.Js Viewer