Vulnerability database / CVE-2021-24759
CVE-2021-24759
MEDIUM 5.4 CVSS 3.1 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
Published 6 Dec 2021
Last modified 17 Jun 2026 Assigned by contact@wpscan.com NVD status Modified Weakness
CWE-79 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
MEDIUM 5.4
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NNVD
nvd@nist.gov (Primary)
CVSS 2.0
LOW 3.5
AV:N/AC:M/Au:S/C:N/I:P/A:N
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
pdf.js_viewer_project
pdf.js_viewercpe:2.3:a:pdf.js_viewer_project:pdf.js_viewer:*:*:*:*:*:wordpress:*:*
< 2.0.2
2.0.2
References
History
25 Nov 2026 20:33 UTC · NVD: first stored (published 6 Dec 2021)