Files
CVEs-PoC/2021/CVE-2021-24759.md
T
2025-09-29 21:09:30 +02:00

18 lines
777 B
Markdown

### [CVE-2021-24759](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24759)
![](https://img.shields.io/static/v1?label=Product&message=PDF.js%20Viewer&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=2.0.2%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%20Cross-site%20Scripting%20(XSS)&color=brightgreen)
### 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
### POC
#### Reference
- https://wpscan.com/vulnerability/38274ef2-5100-4669-9544-a42346b6727d
#### Github
- https://github.com/20142995/nuclei-templates