{"action":"opened","issue":{"url":"https://api.github.com/repos/Baptvincent/Easy-Put.io/issues/6","labels_url":"https://api.github.com/repos/Baptvincent/Easy-Put.io/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/Baptvincent/Easy-Put.io/issues/6/comments","events_url":"https://api.github.com/repos/Baptvincent/Easy-Put.io/issues/6/events","html_url":"https://github.com/Baptvincent/Easy-Put.io/issues/6","id":98493715,"number":6,"title":"DOM XSS on http://easy-putio.baptiste-vincent.fr/get_token.html","user":{"login":"mikispag","id":991637,"avatar_url":"https://avatars.githubusercontent.com/u/991637?v=3","gravatar_id":"","url":"https://api.github.com/users/mikispag","html_url":"https://github.com/mikispag","followers_url":"https://api.github.com/users/mikispag/followers","following_url":"https://api.github.com/users/mikispag/following{/other_user}","gists_url":"https://api.github.com/users/mikispag/gists{/gist_id}","starred_url":"https://api.github.com/users/mikispag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikispag/subscriptions","organizations_url":"https://api.github.com/users/mikispag/orgs","repos_url":"https://api.github.com/users/mikispag/repos","events_url":"https://api.github.com/users/mikispag/events{/privacy}","received_events_url":"https://api.github.com/users/mikispag/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-01T00:44:30Z","updated_at":"2015-08-01T00:44:30Z","closed_at":null,"body":"Hello,\r\n\r\nthere is a DOM XSS vulnerability on http://easy-putio.baptiste-vincent.fr/get_token.html.\r\n\r\nProof of concept:\r\n```\r\nhttp://easy-putio.baptiste-vincent.fr/get_token.html#access_token=<img src=x onerror=alert(document.cookie)>\r\n```\r\n\r\nThis can be very easily fixed by replacing\r\n\r\n```\r\ndocument.getElementById('token').innerHTML=access_token;\r\n```\r\n\r\nwith:\r\n\r\n```\r\ndocument.getElementById('token').textContent = access_token;\r\n```"}}