Skip to content
OpenAdvisories
Medium · 5.4 CVE-2022-4670 EUVD-2022-51994GHSA-prq5-cfmm-gwc2

PDF.js Viewer < 2.1.8 - Contributor+ Stored XSS via Shortcode

Published Feb 6, 2023 · Updated Mar 25, 2025 · Assigned by WPScan

Description

The PDF.js Viewer WordPress plugin before 2.1.8 does not validate and escape some of its shortcode attributes before outputting them back in a page/post where the shortcode is embed, which could allow users with the contributor role and above to perform Stored Cross-Site Scripting attacks.

Affected products

VendorProductAffectedFixed
— PDF.js Viewer < 2.1.8 2.1.8

References