In Home Assistant before 0.57, it is possible to inject JavaScript code into a persistent notification via crafted Markdown text, aka XSS.
https://github.com/advisories/GHSA-7wfq-wmx2-3wr4
https://github.com/home-assistant/home-assistant-polymer/pull/514