CVE-2022-0535 E2Pdf < 1.16.45 - Admin+ Stored Cross-Site Scripting (XSS)
High-privilege users can inject malicious scripts via unsanitized settings in the E2Pdf WordPress plugin, potentially leading to session hijacking or site compromise.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-0535?
CVE-2022-0535 is a medium-severity cross-site scripting vulnerability in Unknown E2Pdf – Export To Pdf Tool for WordPress, published on 7 Mar 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
The E2Pdf WordPress plugin before 1.16.45 does not sanitise and escape some of its settings, which could allow high privilege users to perform Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed
Weakness: CWE-79
Which versions are affected by CVE-2022-0535?
It affects 1 product.
Products include E2pdf E2pdf.
How do I fix CVE-2022-0535?
No fix has been published for CVE-2022-0535 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-0535 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-0535 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in Unknown E2Pdf – Export To Pdf Tool for WordPress
- CVE-2023-50849 WordPress e2pdf Plugin <= 1.20.23 is vulnerable to SQL Injection
- CVE-2023-6826 E2Pdf <= 1.20.25 - Authenticated (Administrator+) Arbitrary File Upload
- CVE-2023-46154 WordPress e2pdf Plugin <= 1.20.18 is vulnerable to PHP Object Injection
- CVE-2025-62068 WordPress e2pdf plugin <= 1.28.09 - Cross Site Scripting (XSS) vulnerability
- CVE-2024-43318 WordPress E2Pdf – Export To Pdf Tool for WordPress plugin <= 1.25.05 - Cross Site Scripting (XSS) vulnerability
Sources
Also known as GHSA-48h4-gmhg-hvjg.