CVE-2021-24759
JSON

5.4medium

PDF.js Viewer < 2.0.2 - Contributor+ Stored Cross-Site Scripting

Severity
5.4medium CVSS:3.1 by NVD
Exploit likelihood
0.62% (higher than 51% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
WPScan

Description

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

Affected

Product or packageVersionsReported by
Unknown PDF.js Viewerfrom 2.0.2 before 2.0.2CVE List
pdf.js_viewer_project pdf.js_viewerbefore 2.0.2NVD

All scores

NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD3.5low CVSS:2.0AV:N/AC:M/Au:S/C:N/I:P/A:N

Classification

What each source says

CVE List

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

NVD (es)

El plugin PDF.js Viewer de WordPress versiones anteriores a 2.0.2, no escapa a algunos de sus atributos de shortcode y Gutenberg Block, que podría permitir a usuarios con un rol tan bajo como el de Contributor llevar a cabo ataques de tipo Cross-Site Scripting

References

Sources

SourceRecordLicence
CVE ListCVE-2021-24759 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-24759 changed 2026-06-17Public domain