← WordPress Vulnerabilities
WordPress security by component

PDF.js Viewer

PDF.js Viewer embeds PDF documents on WordPress pages using a PDF.js-based viewer.

PDF.js Viewer (pdf-js-viewer) is a WordPress plugin with 2 published CVE records in this archive. The latest tracked vulnerability was published Feb 06, 2023; the highest published CVSS base score is 5.4.

Plugin slug: pdf-js-viewer

CVE-2022-4670: PDF.js Viewer: Cross-site scripting

PDF.js Viewer is affected by cross-site scripting. Exposure depends on how the affected operation is made reachable by the site. Injected script can execute in the affected site's origin when the vulnerable output is viewed.

PublishedFeb 06, 2023
Safe version guidanceSee mitigation notes
Published vulnerabilities for pdf-js-viewer
Safe version
Feb 06, 2023 CVE-2022-4670
PDF.js Viewer: Cross-site scripting
PDF.js Viewer is affected by cross-site scripting. Exposure depends on how the affected operation is made reachable by the site. Injected script can execute in the affected site's origin when the vulnerable output is viewed.
See mitigation notes
CVE5.4
Dec 06, 2021 CVE-2021-24759
PDF.js Viewer: Cross-site scripting
PDF.js Viewer is affected by cross-site scripting. Exposure depends on how the affected operation is made reachable by the site. Injected script can execute in the affected site's origin when the vulnerable output is viewed.
See mitigation notes
CVEPending