CVE-2017-16782 Cross-site scripting in n/a
Attackers can inject JavaScript into persistent notifications via crafted Markdown, potentially leading to code execution or account takeover in Home Assistant.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2017-16782?
CVE-2017-16782 is a medium-severity cross-site scripting vulnerability in n/a, published on 10 Nov 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
In Home Assistant before 0.57, it is possible to inject JavaScript code into a persistent notification via crafted Markdown text, aka XSS.
Weakness: CWE-79
Which versions are affected by CVE-2017-16782?
It affects 1 product.
Products include Home-Assistant Home-Assistant.
How do I fix CVE-2017-16782?
No fix has been published for CVE-2017-16782 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2017-16782 being exploited?
There is no known exploitation of CVE-2017-16782 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2023-27482 Auth bypass in core
- CVE-2023-41895 Cross-site Scripting via auth_callback login in Home Assistant Core
- CVE-2023-41897 Lack of XFO header allows clickjacking in Home Assistant Core
- CVE-2026-54317 Home Assistant: Konnected alarm-panel switch state and zone topology disclosed to unauthenticated actors on the LAN
- CVE-2020-36517 Information disclosure in n/a