CVE-2021-24759
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 package | Versions | Reported by |
|---|---|---|
| Unknown PDF.js Viewer | from 2.0.2 before 2.0.2 | CVE List |
| pdf.js_viewer_project pdf.js_viewer | before 2.0.2 | NVD |
All scores
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.5low CVSS:2.0 | AV: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
| https://wpscan.com/vulnerability/38274ef2-5100-4669-9544-a42346b6727d | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-24759 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-24759 changed 2026-06-17 | Public domain |