Kibana versions after 6.1.0 and before 6.1.3 had a cross-site scripting (XSS) vulnerability in labs visualizations that could allow an attacker to obtain sensitive information from or perform destructive actions on behalf of other Kibana users.
https://discuss.elastic.co/t/elastic-stack-6-1-3-and-5-6-7-security-update/117683