Kibana versions before 6.8.6 and 7.5.1 contain a cross site scripting (XSS) flaw in the coordinate and region map visualizations. An attacker with the ability to create coordinate map visualizations could create a malicious visualization. If another Kibana user views that visualization or a dashboard containing the visualization it could execute JavaScript in the victim�s browser.
https://www.elastic.co/community/security/
https://discuss.elastic.co/t/elastic-stack-6-8-6-and-7-5-1-security-update/212390