What’s Vulnerable › Vulnerabilities
CVE-2023-41897: Lack of XFO header allows clickjacking in Home Assistant Core
- Severity: critical (CVSS 9.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-10-19 · updated 2026-06-17
- Weakness: CWE-1021
Description
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 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.
Affected products
- Home-Assistant: before 2023.9.0 — fixed in 2023.9.0
How to fix
Upgrade to a fixed version: Home-Assistant 2023.9.0. Check the vendor advisory for mitigations.
References
- https://github.com/home-assistant/core/security/advisories/GHSA-935v-rmg9-44mw
- https://github.com/home-assistant/core/security/advisories/GHSA-cr83-q7r2-7f5q
- https://www.home-assistant.io/blog/2023/10/19/security-audits-of-home-assistant/
- https://github.com/home-assistant/core/security/advisories/GHSA-935v-rmg9-44mw
- https://github.com/home-assistant/core/security/advisories/GHSA-cr83-q7r2-7f5q
- https://www.home-assistant.io/blog/2023/10/19/security-audits-of-home-assistant/
Get alerted when CVE-2023-41897 or the next vulnerability affects your stack