Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed double-take UI
-
DeliveryDeliver crafted X-Ingress-Path header to victim session
-
ExploitHeader reflected into inline script unescaped
-
ExecutionArbitrary JavaScript executes in UI origin
-
ImpactHijack session or act as user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to control the value of the X-Ingress-Path HTTP request header, which is reflected unescaped into an inline JavaScript assignment (window.ingressUrl) in the response from app.use in api/src/app.js on double-take versions up to 1.13.1. Passive victim interaction is required (UI:P) - the malicious response must render in a victim's browser. The principal LIMITING factor is that X-Ingress-Path is normally supplied by the Home Assistant ingress/reverse-proxy layer and is not a header a cross-origin attacker's JavaScript can set in a victim's browser, so practical exploitation depends on either direct attacker-to-victim request delivery or the ability to influence the proxy-injected header; instances fronted by a trusted ingress proxy that sanitizes or fixes this header are substantially harder to attack. Fixed in 1.13.2. |
| Impact | This is a medium-severity reflected XSS (CWE-79) with a realistic risk that sits well below its surface description. The CVSS 4.0 vector (AV:N/AC:L/PR:N/UI:P/VC:N/VI:L/VA:N) scores 5.3, and the signals are internally consistent: no privileges required but passive user interaction (UI:P) is needed, confidentiality/availability impact is None, and only integrity is Low - matching a confined script-injection flaw rather than a system-compromise bug. EPSS reinforces this: 0.35% probability at the 26th percentile indicates low near-term exploitation likelihood. The vulnerability is NOT in CISA KEV and there is no public exploit code referenced (only the vendor commit and VulDB entries), so exploitation status is 'no public exploit identified at time of analysis.' A key practical caveat the raw metrics understate: the injection sink is the X-Ingress-Path HTTP request header, which in normal deployments is set by the Home Assistant ingress reverse proxy rather than being freely controllable by a victim's browser (cross-origin JavaScript cannot set arbitrary custom headers), so landing the payload in an authenticated victim's session is non-trivial. Net: a legitimate but low-priority issue - patch in routine maintenance rather than emergency change. The source diff fully confirms root cause and fix, so confidence in the technical nature is high. |
| Exploit ScenarioDerived | An attacker crafts a request to a double-take instance in which the X-Ingress-Path header carries a malicious payload that is reflected unescaped into an inline <script> block (window.ingressUrl = '...'), breaking out of the string and injecting arbitrary JavaScript. If the attacker can cause a victim's authenticated browser session - or a manipulated ingress/reverse-proxy layer - to deliver that header, the script executes in the double-take UI origin, enabling session/token theft or actions in the dashboard. No public proof-of-concept is referenced, though the fixing commit clearly discloses the vulnerable interpolation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Reflected cross-site scripting in jakowenko double-take through 1.13.1 allows unauthenticated remote attackers to inject script into a victim's browser by manipulating the X-Ingress-Path HTTP request header. The API's UI-serving handler in api/src/app.js reflects this header unescaped into an inline JavaScript assignment (window.ingressUrl), so the payload executes in the context of the double-take UI; exploitation requires the victim to load the crafted response (user interaction), and the CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:P puts base severity at 5.3. EPSS is low at 0.35% (26th percentile) and no public exploit code has been identified at time of analysis. Fixed in version 1.13.2.
RemediationAI
Vendor-released patch: upgrade to double-take 1.13.2, which is the first version containing the fix commit e11de9dd6b4ea6b7ec9a5607a920d48961e9fa50 that serializes the X-Ingress-Path and UI path values with JSON.stringify() before embedding them in the inline script (see https://github.com/jakowenko/double-take/releases/tag/v1.13.2). Until the upgrade can be performed, the most effective compensating control is to ensure the header reaching double-take cannot be attacker-controlled: configure the Home Assistant ingress/reverse proxy in front of the service to overwrite or strip any client-supplied X-Ingress-Path rather than passing it through, since the fix's root cause is trust in a proxy-injected header. The trade-off is that if a custom ingress path is genuinely required, hard-coding or strictly allow-listing the expected value at the proxy must be maintained, and any proxy that forwards the client's own header will continue to leave the instance vulnerable. Additionally, avoid exposing the double-take API/UI directly to untrusted networks where a client could set X-Ingress-Path on a request it also causes a victim to render; restricting access to the service to the trusted ingress boundary reduces the attack surface but does not remediate the underlying flaw, so patching to 1.13.2 remains the required action.
Affected ProductsAI
jakowenko double-take versions up to and including 1.13.1 are affected, specifically the API/UI component shipped in api/src/app.js; the corrected release is v1.13.2 (https://github.com/jakowenko/double-take/releases/tag/v1.13.2) and the fixing commit is https://github.com/jakowenko/double-take/commit/e11de9dd6b4ea6b7ec9a5607a920d48961e9fa50. Vendor/advisory details are documented by VulDB at https://vuldb.com/?id.327247 (CTI entry https://vuldb.com/?ctiid.327247, submission https://vuldb.com/?submit.664967). No CPE strings were supplied in the input data, so deployments should be identified by the double-take release version rather than by CPE matching.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
double-take is a Node.js/Express facial-recognition service commonly deployed behind Home Assistant's ingress reverse proxy. In the affected code path, api/src/app.js uses app.use(UI.PATH, ...) to serve the web UI and builds an inline <script> block that interpolates request-controlled values directly into JavaScript string literals: window.ingressUrl = '${req.headers['x-ingress-path'] || ''}'; and window.publicPath = '${UI?.PATH || ''}';. Because the value of the X-Ingress-Path header is concatenated without escaping or contextual encoding, an attacker who can control that header can break out of the string literal and inject arbitrary script that runs in the victim's browser. This is a classic CWE-79 (Improper Neutralization of Input During Web Page Generation / 'Cross-site Scripting') reflected XSS in a JavaScript context. The upstream fix (commit e11de9dd6b4ea6b7ec9a5607a920d48961e9fa50) replaces naive string interpolation with JSON.stringify() for both the ingress path and the UI path, producing safely serialized JavaScript string literals. CPE data is not provided in the input; affected component is the double-take API/UI as shipped in versions up to and including 1.13.1.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Network reflected XSS requiring victim interaction (UI:R) with no auth (PR:N); script runs in the UI origin crossing a trust boundary (S:C) with limited confidentiality/integrity impact (C:L/I:L) and no availability effect.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
A vulnerability was detected in jakowenko double-take up to 1.13.1. The impacted element is the function app.use of the file api/src/app.js of the component API. The manipulation of the argument X-Ingress-Path results in cross site scripting. The attack can be executed remotely. Upgrading to version 1.13.2 is sufficient to resolve this issue. The patch is identified as e11de9dd6b4ea6b7ec9a5607a920d48961e9fa50. The affected component should be upgraded.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB