CVE-2022-4321 PDF Generator for WordPress < 1.1.2 - Reflected XSS
Reflected XSS in a vendored example file allows attackers to target high-privilege users like admins.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-4321?
CVE-2022-4321 is a medium-severity cross-site scripting vulnerability in Unknown PDF Generator for WordPress, published on 6 Feb 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The PDF Generator for WordPress plugin before 1.1.2 includes a vendored dompdf example file which is susceptible to Reflected Cross-Site Scripting and could be used against high privilege users such as admin
Which versions are affected by CVE-2022-4321?
It affects 1 product.
Products include Wpswings Pdf Generator for Wordpress.
How do I fix CVE-2022-4321?
No fix has been published for CVE-2022-4321 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-4321 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-4321 exists.
Public exploit code: 1 Nuclei template.
Sources
Also known as GHSA-338m-rx6v-qqv5.