CVE-2022-4670
Last modified
CVE-2022-4670 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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.. EPSS estimates a 0.56% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Pdf.Js Viewer Project | Pdf.Js Viewer | < 2.1.8 |
References
- https://wpscan.com/vulnerability/2a67c290-2a27-44fe-95ae-2d427e9d7548Exploit, Third Party Advisory
- https://wpscan.com/vulnerability/2a67c290-2a27-44fe-95ae-2d427e9d7548Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-4670?
How severe is CVE-2022-4670?
How do I fix CVE-2022-4670?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-46694An out-of-bounds write issue was addressed with improved inp…7.8
- CVE-2022-46695A spoofing issue existed in the handling of URLs. This issue…6.5
- CVE-2022-46696A memory corruption issue was addressed with improved input …8.8
- CVE-2022-46697An out-of-bounds access issue was addressed with improved bo…7.8
- CVE-2022-46698A logic issue was addressed with improved checks. This issue…6.5
- CVE-2022-46699A memory corruption issue was addressed with improved state …8.8
- CVE-2022-46700A memory corruption issue was addressed with improved input …8.8
- CVE-2022-46701The issue was addressed with improved bounds checks. This is…7.8
- CVE-2022-46702The issue was addressed with improved memory handling. This …5.5
- CVE-2022-46703A logic issue was addressed with improved restrictions. This…5.5
- CVE-2022-46704A logic issue was addressed with improved state management. …5.5
- CVE-2022-46705A spoofing issue existed in the handling of URLs. This issue…4.3
Are you affected by CVE-2022-4670?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
