Summary
The E2Pdf – Export Pdf Tool for WordPress plugin, in all versions up to and including 2.00.05, is vulnerable to Stored Cross-Site Scripting (CWE-79) due to insufficient input sanitization and output escaping. The payload is injected through a Contact Form 7 field (e.g. 'your-name') referenced in the error message or condition of an E2Pdf 'PDF Access By URL' action.
Per the CVSS vector (7.2, high), the attack is network-based, low complexity, requires no authentication and no user interaction, and has a changed scope. A single unauthenticated CF7 submission seeds the payload, which executes when any visitor opens the resulting shareable download URL.
An attacker can run arbitrary script in victims' browsers, leading to limited data disclosure and content modification in the site context. The vulnerability is not listed in the CISA KEV catalog.
Who is affected
WordPress sites running E2Pdf up to 2.00.05 with Contact Form 7 and a 'PDF Access By URL' action whose error message references a form field.
What to do
- Update E2Pdf to a newer version; references point to changes in 2.00.06, but confirm the fixed version in the vendor's official release or Wordfence advisory.
- Check whether the site runs E2Pdf (≤ 2.00.05) and has 'PDF Access By URL' actions whose error messages or conditions reference CF7 fields.
- Until updated, remove CF7 field references from those actions' error messages/conditions or temporarily disable the plugin.
- Review recent CF7 submissions and generated download URLs for suspicious HTML/JavaScript content.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- None (no login)
- User interaction
- Not required
- Scope
- Affects other components
- Confidentiality
- Low impact
- Integrity
- Low impact
- Availability
- None
Weakness type (CWE)
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- www.wordfence.com/threat-intel/vulnerabilities/id/06aa603a-b96a-4bf9-b878-7f22b75b904d?sou
- plugins.trac.wordpress.org/browser/e2pdf/tags/2.00.05/classes/controller/frontend/e2pdf-do
- plugins.trac.wordpress.org/browser/e2pdf/tags/2.00.05/classes/extension/e2pdf-wpcf7.php#L6
- plugins.trac.wordpress.org/browser/e2pdf/tags/2.00.05/classes/controller/frontend/e2pdf-do
- plugins.trac.wordpress.org/browser/e2pdf/tags/2.00.05/classes/extension/e2pdf-wpcf7.php#L1
- plugins.trac.wordpress.org/changeset?reponame=&new=3826046%40e2pdf%2Ftags%2F2.00.06&old=38
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.