{"action":"closed","issue":{"url":"https://api.github.com/repos/VisionistInc/showdown-xss-filter/issues/4","labels_url":"https://api.github.com/repos/VisionistInc/showdown-xss-filter/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/VisionistInc/showdown-xss-filter/issues/4/comments","events_url":"https://api.github.com/repos/VisionistInc/showdown-xss-filter/issues/4/events","html_url":"https://github.com/VisionistInc/showdown-xss-filter/issues/4","id":83694579,"number":4,"title":"Vulnerability in markdown","user":{"login":"markgeraty","id":650147,"avatar_url":"https://avatars.githubusercontent.com/u/650147?v=3","gravatar_id":"","url":"https://api.github.com/users/markgeraty","html_url":"https://github.com/markgeraty","followers_url":"https://api.github.com/users/markgeraty/followers","following_url":"https://api.github.com/users/markgeraty/following{/other_user}","gists_url":"https://api.github.com/users/markgeraty/gists{/gist_id}","starred_url":"https://api.github.com/users/markgeraty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markgeraty/subscriptions","organizations_url":"https://api.github.com/users/markgeraty/orgs","repos_url":"https://api.github.com/users/markgeraty/repos","events_url":"https://api.github.com/users/markgeraty/events{/privacy}","received_events_url":"https://api.github.com/users/markgeraty/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/VisionistInc/showdown-xss-filter/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-01T21:07:54Z","updated_at":"2015-06-02T12:57:10Z","closed_at":"2015-06-02T12:57:10Z","body":"The [example here](https://github.com/showdownjs/showdown/wiki/Markdown's-XSS-Vulnerability-(and-how-to-mitigate-it)#striping-html-tags-is-not-enough) is a vulnerability that still exists using this package.\r\n\r\n```\r\n[some text](javascript:alert('xss'))\r\n```\r\n\r\nRather than filtering the HTML before rendering the markdown, we should be filtering it after the markdown is processed, but before it is added to the DOM."}}