{"action":"opened","issue":{"url":"https://api.github.com/repos/mulesoft/api-console/issues/188","labels_url":"https://api.github.com/repos/mulesoft/api-console/issues/188/labels{/name}","comments_url":"https://api.github.com/repos/mulesoft/api-console/issues/188/comments","events_url":"https://api.github.com/repos/mulesoft/api-console/issues/188/events","html_url":"https://github.com/mulesoft/api-console/issues/188","id":112375895,"number":188,"title":"api-console allows the browser to execute arbitrary scripts included in RAML file","user":{"login":"monami555","id":1808940,"avatar_url":"https://avatars.githubusercontent.com/u/1808940?v=3","gravatar_id":"","url":"https://api.github.com/users/monami555","html_url":"https://github.com/monami555","followers_url":"https://api.github.com/users/monami555/followers","following_url":"https://api.github.com/users/monami555/following{/other_user}","gists_url":"https://api.github.com/users/monami555/gists{/gist_id}","starred_url":"https://api.github.com/users/monami555/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monami555/subscriptions","organizations_url":"https://api.github.com/users/monami555/orgs","repos_url":"https://api.github.com/users/monami555/repos","events_url":"https://api.github.com/users/monami555/events{/privacy}","received_events_url":"https://api.github.com/users/monami555/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-20T14:03:26Z","updated_at":"2015-10-20T14:03:26Z","closed_at":null,"body":"Take for example this file: https://html5sec.org/test.raml. When I attempt to load it in api-console, it displays a series of popup alerts.\r\n\r\nThis makes every site that uses api-console expose a cross-site scripting security vulnerability. It would be good if the api-console could neutralize such scripts before attempting to interpret the RAML.\r\n\r\nWould that be considered a possible improvement in the near future?"}}