CVE-2022-0535 E2Pdf < 1.16.45 - Admin+ Stored Cross-Site Scripting (XSS)

Medium 4.8 Published Updated

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.

Sources

Also known as GHSA-48h4-gmhg-hvjg.

Is CVE-2022-0535 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free