Security Resilience

CVE-2023-41897

Home-Assistant ≤ 2023.9.0

Published
19 October 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 8.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score 0.011 66th percentile
Risk Priority 67 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-41897 is a high-severity Improper Restriction of Rendered UI Layers or Frames (CWE-1021) vulnerability in Home-Assistant. Its CVSS base score is 8.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Input Capture (T1056); ranked in the top 34% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

Home assistant is an open source home automation. Home Assistant server does not set any HTTP security headers, including the X-Frame-Options header, which specifies whether the web page is allowed to be framed. The omission of this and correlating headers…

more

facilitates covert clickjacking attacks and alternative exploit opportunities, such as the vector described in this security advisory. This fault incurs major risk, considering the ability to trick users into installing an external and malicious add-on with minimal user interaction, which would enable Remote Code Execution (RCE) within the Home Assistant application. This issue has been addressed in version 2023.9.0 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1056 Input Capture Collection
Adversaries may use methods of capturing user input to obtain credentials or collect information.
T1056.002 GUI Input Capture Collection
Adversaries may mimic common operating system GUI components to prompt users for credentials with a seemingly legitimate prompt.
T1204 User Execution Execution
An adversary may rely upon specific actions by a user in order to gain execution.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-33045Same product: Home-Assistant Home-Assistant
CVE-2023-41895Same product: Home-Assistant Home-Assistant
CVE-2026-33044Same product: Home-Assistant Home-Assistant
CVE-2023-41899Same product: Home-Assistant Home-Assistant
CVE-2026-54317Same product: Home-Assistant Home-Assistant
CVE-2025-65713Same product: Home-Assistant Home-Assistant
CVE-2023-41894Same product: Home-Assistant Home-Assistant
CVE-2023-41893Same product: Home-Assistant Home-Assistant
CVE-2023-50715Same product: Home-Assistant Home-Assistant
CVE-2023-41896Same product: Home-Assistant Home-Assistant

Affected Assets

home-assistant
home-assistant
≤ 2023.9.0

Mitigating Controls

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require implementing frame-ancestors / X-Frame-Options controls that prevent this weakness.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect missing frame protections, but does not itself implement the control.

prevents

Training developers on web application security can make them aware of clickjacking and the need for X-Frame-Options or CSP frame-ancestors headers, but this is a specific technical implementation detail that requires deliberate coding, and not all developers receive this specialized training; the remainder is developers who lack the specific knowledge or who omit the protection despite knowing about it.

prevents

Secure coding practices directly require implementation of frame-busting headers or CSP frame-ancestors directives.

prevents

A.8.30 carries secure coding (8.28) and security testing (8.29) into the supplier contract, so clickjacking protections (X-Frame-Options, CSP frame-ancestors) are required of outsourced web development the same way those practices are; the effect is partial because it depends on supplier implementation rigour and the clause's ceiling on software weaknesses is partial.

finds

A.8.8's reach is DISCLOSURE — it sees only instances that carry a vendor-published flaw. Clickjacking does surface as CVEs in third-party components (e.g., CVE-2017-5697 firmware, CVE-2017-4015 DLP product), so A.8.8 finds that minority. The bulk of CWE-1021, however, is a first-party web application configuration/coding defect (missing X-Frame-Options / CSP frame-ancestors), which A.8.8's disclosure-based programme does not reach.

removes

A.8.9's configuration templates and monitoring can enforce HTTP headers (X-Frame-Options, CSP frame-ancestors) that are the primary clickjacking mitigation, removing existing header-misconfiguration instances; however, code-level frame-busting logic and applications with context-dependent framing requirements are outside configuration management's reach, leaving a nameable remainder.

References