PDF.js Viewer
pdfjs-viewer-shortcode · plugin
Known security vulnerabilities for PDF.js Viewer. Find out in seconds which version runs on your site with WP Lens.
2 known vulnerabilities
latest Feb 6, 2023
Before you install
Known vulnerabilities fixed
- A fixed release exists for all 2 known records (latest 3.2.0).
Install the current version and keep it updated.
This assessment relies only on published vulnerability records and wordpress.org data; it does not review the code.
Is this component installed on your sites, and in which version? See it from inside the site with Noroxi Connector
Listed on wordpress.org · latest 3.2.0 · last updated Oct 26, 2026 · 20K+ installs
wordpress.org status checked on Nov 1, 2026
Vulnerabilities
- Medium 5.4
CVE-2022-4670contributor+→ 2.1.8
PDF.js Viewer < 2.1.8 - Contributor+ Stored XSS via Shortcode
- Medium 5.4
CVE-2021-24759contributor+→ 2.0.2
PDF.js Viewer < 2.0.2 - Contributor+ Stored Cross-Site Scripting
The access label is read from the record's own text (e.g. “subscriber+”: subscriber and above). When the text names no role, CVSS decides between “login required” and “high privilege”; no role name is invented. “Needs a click”: the attack depends on a logged-in user following a link (CSRF, reflected XSS).