{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/Yubico/wordpress-u2f/pulls/1","id":27118419,"html_url":"https://github.com/Yubico/wordpress-u2f/pull/1","diff_url":"https://github.com/Yubico/wordpress-u2f/pull/1.diff","patch_url":"https://github.com/Yubico/wordpress-u2f/pull/1.patch","issue_url":"https://api.github.com/repos/Yubico/wordpress-u2f/issues/1","number":1,"state":"open","locked":false,"title":"Escape the output in U2F admin settings screen","user":{"login":"henryk","id":71508,"avatar_url":"https://avatars.githubusercontent.com/u/71508?v=3","gravatar_id":"","url":"https://api.github.com/users/henryk","html_url":"https://github.com/henryk","followers_url":"https://api.github.com/users/henryk/followers","following_url":"https://api.github.com/users/henryk/following{/other_user}","gists_url":"https://api.github.com/users/henryk/gists{/gist_id}","starred_url":"https://api.github.com/users/henryk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henryk/subscriptions","organizations_url":"https://api.github.com/users/henryk/orgs","repos_url":"https://api.github.com/users/henryk/repos","events_url":"https://api.github.com/users/henryk/events{/privacy}","received_events_url":"https://api.github.com/users/henryk/received_events","type":"User","site_admin":false},"body":"Currently no escaping is done when outputting (the only) user-supplied data, leading to a trivial XSS vulnerability (albeit with limited impact). To test, try entering something like\r\n    http://foo'><b>Foo</b>\r\ninto the appid field and save. This commit fixes that.","created_at":"2015-01-09T18:18:31Z","updated_at":"2015-01-09T18:18:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Yubico/wordpress-u2f/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Yubico/wordpress-u2f/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Yubico/wordpress-u2f/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Yubico/wordpress-u2f/issues/1/comments","statuses_url":"https://api.github.com/repos/Yubico/wordpress-u2f/statuses/04eb90c58efa90f815e586de66070cf961491ab4","head":{"label":"henryk:master","ref":"master","sha":"04eb90c58efa90f815e586de66070cf961491ab4","user":{"login":"henryk","id":71508,"avatar_url":"https://avatars.githubusercontent.com/u/71508?v=3","gravatar_id":"","url":"https://api.github.com/users/henryk","html_url":"https://github.com/henryk","followers_url":"https://api.github.com/users/henryk/followers","following_url":"https://api.github.com/users/henryk/following{/other_user}","gists_url":"https://api.github.com/users/henryk/gists{/gist_id}","starred_url":"https://api.github.com/users/henryk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henryk/subscriptions","organizations_url":"https://api.github.com/users/henryk/orgs","repos_url":"https://api.github.com/users/henryk/repos","events_url":"https://api.github.com/users/henryk/events{/privacy}","received_events_url":"https://api.github.com/users/henryk/received_events","type":"User","site_admin":false},"repo":{"id":28965936,"name":"wordpress-u2f","full_name":"henryk/wordpress-u2f","owner":{"login":"henryk","id":71508,"avatar_url":"https://avatars.githubusercontent.com/u/71508?v=3","gravatar_id":"","url":"https://api.github.com/users/henryk","html_url":"https://github.com/henryk","followers_url":"https://api.github.com/users/henryk/followers","following_url":"https://api.github.com/users/henryk/following{/other_user}","gists_url":"https://api.github.com/users/henryk/gists{/gist_id}","starred_url":"https://api.github.com/users/henryk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henryk/subscriptions","organizations_url":"https://api.github.com/users/henryk/orgs","repos_url":"https://api.github.com/users/henryk/repos","events_url":"https://api.github.com/users/henryk/events{/privacy}","received_events_url":"https://api.github.com/users/henryk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/henryk/wordpress-u2f","description":"A Wordpress U2F plugin.","fork":true,"url":"https://api.github.com/repos/henryk/wordpress-u2f","forks_url":"https://api.github.com/repos/henryk/wordpress-u2f/forks","keys_url":"https://api.github.com/repos/henryk/wordpress-u2f/keys{/key_id}","collaborators_url":"https://api.github.com/repos/henryk/wordpress-u2f/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/henryk/wordpress-u2f/teams","hooks_url":"https://api.github.com/repos/henryk/wordpress-u2f/hooks","issue_events_url":"https://api.github.com/repos/henryk/wordpress-u2f/issues/events{/number}","events_url":"https://api.github.com/repos/henryk/wordpress-u2f/events","assignees_url":"https://api.github.com/repos/henryk/wordpress-u2f/assignees{/user}","branches_url":"https://api.github.com/repos/henryk/wordpress-u2f/branches{/branch}","tags_url":"https://api.github.com/repos/henryk/wordpress-u2f/tags","blobs_url":"https://api.github.com/repos/henryk/wordpress-u2f/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/henryk/wordpress-u2f/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/henryk/wordpress-u2f/git/refs{/sha}","trees_url":"https://api.github.com/repos/henryk/wordpress-u2f/git/trees{/sha}","statuses_url":"https://api.github.com/repos/henryk/wordpress-u2f/statuses/{sha}","languages_url":"https://api.github.com/repos/henryk/wordpress-u2f/languages","stargazers_url":"https://api.github.com/repos/henryk/wordpress-u2f/stargazers","contributors_url":"https://api.github.com/repos/henryk/wordpress-u2f/contributors","subscribers_url":"https://api.github.com/repos/henryk/wordpress-u2f/subscribers","subscription_url":"https://api.github.com/repos/henryk/wordpress-u2f/subscription","commits_url":"https://api.github.com/repos/henryk/wordpress-u2f/commits{/sha}","git_commits_url":"https://api.github.com/repos/henryk/wordpress-u2f/git/commits{/sha}","comments_url":"https://api.github.com/repos/henryk/wordpress-u2f/comments{/number}","issue_comment_url":"https://api.github.com/repos/henryk/wordpress-u2f/issues/comments/{number}","contents_url":"https://api.github.com/repos/henryk/wordpress-u2f/contents/{+path}","compare_url":"https://api.github.com/repos/henryk/wordpress-u2f/compare/{base}...{head}","merges_url":"https://api.github.com/repos/henryk/wordpress-u2f/merges","archive_url":"https://api.github.com/repos/henryk/wordpress-u2f/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/henryk/wordpress-u2f/downloads","issues_url":"https://api.github.com/repos/henryk/wordpress-u2f/issues{/number}","pulls_url":"https://api.github.com/repos/henryk/wordpress-u2f/pulls{/number}","milestones_url":"https://api.github.com/repos/henryk/wordpress-u2f/milestones{/number}","notifications_url":"https://api.github.com/repos/henryk/wordpress-u2f/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/henryk/wordpress-u2f/labels{/name}","releases_url":"https://api.github.com/repos/henryk/wordpress-u2f/releases{/id}","created_at":"2015-01-08T12:56:25Z","updated_at":"2015-01-09T18:11:27Z","pushed_at":"2015-01-09T18:11:27Z","git_url":"git://github.com/henryk/wordpress-u2f.git","ssh_url":"git@github.com:henryk/wordpress-u2f.git","clone_url":"https://github.com/henryk/wordpress-u2f.git","svn_url":"https://github.com/henryk/wordpress-u2f","homepage":null,"size":115,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Yubico:master","ref":"master","sha":"175222d01065c63934293c6e8c92e48eed09d472","user":{"login":"Yubico","id":531825,"avatar_url":"https://avatars.githubusercontent.com/u/531825?v=3","gravatar_id":"","url":"https://api.github.com/users/Yubico","html_url":"https://github.com/Yubico","followers_url":"https://api.github.com/users/Yubico/followers","following_url":"https://api.github.com/users/Yubico/following{/other_user}","gists_url":"https://api.github.com/users/Yubico/gists{/gist_id}","starred_url":"https://api.github.com/users/Yubico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yubico/subscriptions","organizations_url":"https://api.github.com/users/Yubico/orgs","repos_url":"https://api.github.com/users/Yubico/repos","events_url":"https://api.github.com/users/Yubico/events{/privacy}","received_events_url":"https://api.github.com/users/Yubico/received_events","type":"Organization","site_admin":false},"repo":{"id":28398938,"name":"wordpress-u2f","full_name":"Yubico/wordpress-u2f","owner":{"login":"Yubico","id":531825,"avatar_url":"https://avatars.githubusercontent.com/u/531825?v=3","gravatar_id":"","url":"https://api.github.com/users/Yubico","html_url":"https://github.com/Yubico","followers_url":"https://api.github.com/users/Yubico/followers","following_url":"https://api.github.com/users/Yubico/following{/other_user}","gists_url":"https://api.github.com/users/Yubico/gists{/gist_id}","starred_url":"https://api.github.com/users/Yubico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yubico/subscriptions","organizations_url":"https://api.github.com/users/Yubico/orgs","repos_url":"https://api.github.com/users/Yubico/repos","events_url":"https://api.github.com/users/Yubico/events{/privacy}","received_events_url":"https://api.github.com/users/Yubico/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Yubico/wordpress-u2f","description":"A Wordpress U2F plugin.","fork":false,"url":"https://api.github.com/repos/Yubico/wordpress-u2f","forks_url":"https://api.github.com/repos/Yubico/wordpress-u2f/forks","keys_url":"https://api.github.com/repos/Yubico/wordpress-u2f/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yubico/wordpress-u2f/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yubico/wordpress-u2f/teams","hooks_url":"https://api.github.com/repos/Yubico/wordpress-u2f/hooks","issue_events_url":"https://api.github.com/repos/Yubico/wordpress-u2f/issues/events{/number}","events_url":"https://api.github.com/repos/Yubico/wordpress-u2f/events","assignees_url":"https://api.github.com/repos/Yubico/wordpress-u2f/assignees{/user}","branches_url":"https://api.github.com/repos/Yubico/wordpress-u2f/branches{/branch}","tags_url":"https://api.github.com/repos/Yubico/wordpress-u2f/tags","blobs_url":"https://api.github.com/repos/Yubico/wordpress-u2f/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yubico/wordpress-u2f/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yubico/wordpress-u2f/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yubico/wordpress-u2f/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yubico/wordpress-u2f/statuses/{sha}","languages_url":"https://api.github.com/repos/Yubico/wordpress-u2f/languages","stargazers_url":"https://api.github.com/repos/Yubico/wordpress-u2f/stargazers","contributors_url":"https://api.github.com/repos/Yubico/wordpress-u2f/contributors","subscribers_url":"https://api.github.com/repos/Yubico/wordpress-u2f/subscribers","subscription_url":"https://api.github.com/repos/Yubico/wordpress-u2f/subscription","commits_url":"https://api.github.com/repos/Yubico/wordpress-u2f/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yubico/wordpress-u2f/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yubico/wordpress-u2f/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yubico/wordpress-u2f/issues/comments/{number}","contents_url":"https://api.github.com/repos/Yubico/wordpress-u2f/contents/{+path}","compare_url":"https://api.github.com/repos/Yubico/wordpress-u2f/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yubico/wordpress-u2f/merges","archive_url":"https://api.github.com/repos/Yubico/wordpress-u2f/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yubico/wordpress-u2f/downloads","issues_url":"https://api.github.com/repos/Yubico/wordpress-u2f/issues{/number}","pulls_url":"https://api.github.com/repos/Yubico/wordpress-u2f/pulls{/number}","milestones_url":"https://api.github.com/repos/Yubico/wordpress-u2f/milestones{/number}","notifications_url":"https://api.github.com/repos/Yubico/wordpress-u2f/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yubico/wordpress-u2f/labels{/name}","releases_url":"https://api.github.com/repos/Yubico/wordpress-u2f/releases{/id}","created_at":"2014-12-23T13:16:57Z","updated_at":"2014-12-29T13:40:34Z","pushed_at":"2014-12-29T13:40:34Z","git_url":"git://github.com/Yubico/wordpress-u2f.git","ssh_url":"git@github.com:Yubico/wordpress-u2f.git","clone_url":"https://github.com/Yubico/wordpress-u2f.git","svn_url":"https://github.com/Yubico/wordpress-u2f","homepage":null,"size":172,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Yubico/wordpress-u2f/pulls/1"},"html":{"href":"https://github.com/Yubico/wordpress-u2f/pull/1"},"issue":{"href":"https://api.github.com/repos/Yubico/wordpress-u2f/issues/1"},"comments":{"href":"https://api.github.com/repos/Yubico/wordpress-u2f/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Yubico/wordpress-u2f/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Yubico/wordpress-u2f/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Yubico/wordpress-u2f/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Yubico/wordpress-u2f/statuses/04eb90c58efa90f815e586de66070cf961491ab4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}