{"action":"created","issue":{"url":"https://api.github.com/repos/mohamicorp/editor-for-stash-issues/issues/35","repository_url":"https://api.github.com/repos/mohamicorp/editor-for-stash-issues","labels_url":"https://api.github.com/repos/mohamicorp/editor-for-stash-issues/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/mohamicorp/editor-for-stash-issues/issues/35/comments","events_url":"https://api.github.com/repos/mohamicorp/editor-for-stash-issues/issues/35/events","html_url":"https://github.com/mohamicorp/editor-for-stash-issues/issues/35","id":145890210,"number":35,"title":"Stash editor plugin appears capable of executing arbitrary JS","user":{"login":"sjothi","id":16472571,"avatar_url":"https://avatars.githubusercontent.com/u/16472571?v=3","gravatar_id":"","url":"https://api.github.com/users/sjothi","html_url":"https://github.com/sjothi","followers_url":"https://api.github.com/users/sjothi/followers","following_url":"https://api.github.com/users/sjothi/following{/other_user}","gists_url":"https://api.github.com/users/sjothi/gists{/gist_id}","starred_url":"https://api.github.com/users/sjothi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjothi/subscriptions","organizations_url":"https://api.github.com/users/sjothi/orgs","repos_url":"https://api.github.com/users/sjothi/repos","events_url":"https://api.github.com/users/sjothi/events{/privacy}","received_events_url":"https://api.github.com/users/sjothi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-05T05:21:44Z","updated_at":"2016-04-05T22:12:47Z","closed_at":null,"body":"Hi Folks,\r\nI was trying to test part of markdown syntax today and just for fun i did a copy/paste of Javascript code in the README.md and i clicked \"Preview\". Its actually executing the Javascript content.\r\n\r\nSteps to reproduce:\r\n1. Goto any README.md file in any repo.\r\n2. Clear all its content and paste the below content in the README.md file,\r\n<html> TEST </html>\r\n\r\n<script type=\"text/javascript\">\r\nalert(\"THIS IS TEST\");\r\n</script>\r\n3. Click \"Preview\"\r\nYou will actually get an alert.\r\nI am hoping this is an issue.\r\nLet me know if you need more info.\r\nStash Version: 3.11.4\r\nPlugin Version: 1.5.3"},"comment":{"url":"https://api.github.com/repos/mohamicorp/editor-for-stash-issues/issues/comments/206005484","html_url":"https://github.com/mohamicorp/editor-for-stash-issues/issues/35#issuecomment-206005484","issue_url":"https://api.github.com/repos/mohamicorp/editor-for-stash-issues/issues/35","id":206005484,"user":{"login":"mdavoodi","id":2616497,"avatar_url":"https://avatars.githubusercontent.com/u/2616497?v=3","gravatar_id":"","url":"https://api.github.com/users/mdavoodi","html_url":"https://github.com/mdavoodi","followers_url":"https://api.github.com/users/mdavoodi/followers","following_url":"https://api.github.com/users/mdavoodi/following{/other_user}","gists_url":"https://api.github.com/users/mdavoodi/gists{/gist_id}","starred_url":"https://api.github.com/users/mdavoodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdavoodi/subscriptions","organizations_url":"https://api.github.com/users/mdavoodi/orgs","repos_url":"https://api.github.com/users/mdavoodi/repos","events_url":"https://api.github.com/users/mdavoodi/events{/privacy}","received_events_url":"https://api.github.com/users/mdavoodi/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T22:12:47Z","updated_at":"2016-04-05T22:12:47Z","body":"Hey Sjothi, that's pretty weird. I don't see the content you pasted. Did you accidentally remove it?"}}