{"action":"created","issue":{"url":"https://api.github.com/repos/guardian/html-janitor/issues/1","repository_url":"https://api.github.com/repos/guardian/html-janitor","labels_url":"https://api.github.com/repos/guardian/html-janitor/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/guardian/html-janitor/issues/1/comments","events_url":"https://api.github.com/repos/guardian/html-janitor/issues/1/events","html_url":"https://github.com/guardian/html-janitor/pull/1","id":368294714,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxNTA1NDI0","number":1,"title":"Address XSS vulnerabilities","user":{"login":"mbarton","id":395805,"node_id":"MDQ6VXNlcjM5NTgwNQ==","avatar_url":"https://avatars0.githubusercontent.com/u/395805?v=4","gravatar_id":"","url":"https://api.github.com/users/mbarton","html_url":"https://github.com/mbarton","followers_url":"https://api.github.com/users/mbarton/followers","following_url":"https://api.github.com/users/mbarton/following{/other_user}","gists_url":"https://api.github.com/users/mbarton/gists{/gist_id}","starred_url":"https://api.github.com/users/mbarton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbarton/subscriptions","organizations_url":"https://api.github.com/users/mbarton/orgs","repos_url":"https://api.github.com/users/mbarton/repos","events_url":"https://api.github.com/users/mbarton/events{/privacy}","received_events_url":"https://api.github.com/users/mbarton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mbarton","id":395805,"node_id":"MDQ6VXNlcjM5NTgwNQ==","avatar_url":"https://avatars0.githubusercontent.com/u/395805?v=4","gravatar_id":"","url":"https://api.github.com/users/mbarton","html_url":"https://github.com/mbarton","followers_url":"https://api.github.com/users/mbarton/followers","following_url":"https://api.github.com/users/mbarton/following{/other_user}","gists_url":"https://api.github.com/users/mbarton/gists{/gist_id}","starred_url":"https://api.github.com/users/mbarton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbarton/subscriptions","organizations_url":"https://api.github.com/users/mbarton/orgs","repos_url":"https://api.github.com/users/mbarton/repos","events_url":"https://api.github.com/users/mbarton/events{/privacy}","received_events_url":"https://api.github.com/users/mbarton/received_events","type":"User","site_admin":false},"assignees":[{"login":"mbarton","id":395805,"node_id":"MDQ6VXNlcjM5NTgwNQ==","avatar_url":"https://avatars0.githubusercontent.com/u/395805?v=4","gravatar_id":"","url":"https://api.github.com/users/mbarton","html_url":"https://github.com/mbarton","followers_url":"https://api.github.com/users/mbarton/followers","following_url":"https://api.github.com/users/mbarton/following{/other_user}","gists_url":"https://api.github.com/users/mbarton/gists{/gist_id}","starred_url":"https://api.github.com/users/mbarton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbarton/subscriptions","organizations_url":"https://api.github.com/users/mbarton/orgs","repos_url":"https://api.github.com/users/mbarton/repos","events_url":"https://api.github.com/users/mbarton/events{/privacy}","received_events_url":"https://api.github.com/users/mbarton/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-10-09T16:27:15Z","updated_at":"2018-10-10T09:15:41Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/guardian/html-janitor/pulls/1","html_url":"https://github.com/guardian/html-janitor/pull/1","diff_url":"https://github.com/guardian/html-janitor/pull/1.diff","patch_url":"https://github.com/guardian/html-janitor/pull/1.patch"},"body":"Fix XSS vulnerabilities as reported at https://hackerone.com/reports/308155 and https://hackerone.com/reports/308158.\r\n\r\nThis library is not intended for use on un-sanitised user input anyway so I've added an entry to the README to indicate that.\r\n\r\nI've also brought the build kicking and screaming into 2018 by all the outdated dependencies and replacing them with jest to run the tests.\r\n"},"comment":{"url":"https://api.github.com/repos/guardian/html-janitor/issues/comments/428499058","html_url":"https://github.com/guardian/html-janitor/pull/1#issuecomment-428499058","issue_url":"https://api.github.com/repos/guardian/html-janitor/issues/1","id":428499058,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODQ5OTA1OA==","user":{"login":"sihil","id":1236466,"node_id":"MDQ6VXNlcjEyMzY0NjY=","avatar_url":"https://avatars2.githubusercontent.com/u/1236466?v=4","gravatar_id":"","url":"https://api.github.com/users/sihil","html_url":"https://github.com/sihil","followers_url":"https://api.github.com/users/sihil/followers","following_url":"https://api.github.com/users/sihil/following{/other_user}","gists_url":"https://api.github.com/users/sihil/gists{/gist_id}","starred_url":"https://api.github.com/users/sihil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sihil/subscriptions","organizations_url":"https://api.github.com/users/sihil/orgs","repos_url":"https://api.github.com/users/sihil/repos","events_url":"https://api.github.com/users/sihil/events{/privacy}","received_events_url":"https://api.github.com/users/sihil/received_events","type":"User","site_admin":false},"created_at":"2018-10-10T09:15:41Z","updated_at":"2018-10-10T09:15:41Z","author_association":"MEMBER","body":"Isn't the point of this library to prevent users pasting HTML containing elements outside of a given list? I'd argue that is sanitisation. A composer user could be given a poisoned source document... "}}
{"actor":{"display_login":"sihil"}}