Vulnerability Description
The PDF.js Viewer WordPress plugin before 2.1.8 does not validate and escape some of its shortcode attributes before outputting them back in a page/post where the shortcode is embed, which could allow users with the contributor role and above to perform Stored Cross-Site Scripting attacks.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Pdf.Js Viewer Project | Pdf.Js Viewer | < 2.1.8 |
References
- https://wpscan.com/vulnerability/2a67c290-2a27-44fe-95ae-2d427e9d7548ExploitThird Party Advisory
- https://wpscan.com/vulnerability/2a67c290-2a27-44fe-95ae-2d427e9d7548ExploitThird Party Advisory
FAQ
What is CVE-2022-4670?
CVE-2022-4670 is a vulnerability with a CVSS score of 5.4 (MEDIUM). The PDF.js Viewer WordPress plugin before 2.1.8 does not validate and escape some of its shortcode attributes before outputting them back in a page/post where the shortcode is embed, which could allow...
How severe is CVE-2022-4670?
CVE-2022-4670 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-4670?
Check the references section above for vendor advisories and patch information. Affected products include: Pdf.Js Viewer Project Pdf.Js Viewer.