{"action":"closed","number":5284,"pull_request":{"url":"https://api.github.com/repos/activeadmin/activeadmin/pulls/5284","id":157610979,"html_url":"https://github.com/activeadmin/activeadmin/pull/5284","diff_url":"https://github.com/activeadmin/activeadmin/pull/5284.diff","patch_url":"https://github.com/activeadmin/activeadmin/pull/5284.patch","issue_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/5284","number":5284,"state":"closed","locked":false,"title":"HTML encode display_name output.","user":{"login":"markstory","id":24086,"avatar_url":"https://avatars3.githubusercontent.com/u/24086?v=4","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"body":"The display_name helper can end up invoking methods on ActiveRecord models or other arbitrary ruby objects that can contain unsafe user supplied data resulting in XSS holes.\r\n\r\nRefs #5198\r\nRefs #5265\r\nRefs #5275","created_at":"2017-12-11T16:33:15Z","updated_at":"2017-12-15T17:10:57Z","closed_at":"2017-12-15T17:10:57Z","merged_at":"2017-12-15T17:10:57Z","merge_commit_sha":"b46f4d4bc31999c1d13aa682e948951f515f58d3","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/activeadmin/activeadmin/pulls/5284/commits","review_comments_url":"https://api.github.com/repos/activeadmin/activeadmin/pulls/5284/comments","review_comment_url":"https://api.github.com/repos/activeadmin/activeadmin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/5284/comments","statuses_url":"https://api.github.com/repos/activeadmin/activeadmin/statuses/4f33fb013a3b75ff9ee141fa33e201a87a25f8bd","head":{"label":"markstory:display-name","ref":"display-name","sha":"4f33fb013a3b75ff9ee141fa33e201a87a25f8bd","user":{"login":"markstory","id":24086,"avatar_url":"https://avatars3.githubusercontent.com/u/24086?v=4","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"repo":{"id":113874671,"name":"activeadmin","full_name":"markstory/activeadmin","owner":{"login":"markstory","id":24086,"avatar_url":"https://avatars3.githubusercontent.com/u/24086?v=4","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/markstory/activeadmin","description":"The administration framework for Ruby on Rails applications.","fork":true,"url":"https://api.github.com/repos/markstory/activeadmin","forks_url":"https://api.github.com/repos/markstory/activeadmin/forks","keys_url":"https://api.github.com/repos/markstory/activeadmin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/markstory/activeadmin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/markstory/activeadmin/teams","hooks_url":"https://api.github.com/repos/markstory/activeadmin/hooks","issue_events_url":"https://api.github.com/repos/markstory/activeadmin/issues/events{/number}","events_url":"https://api.github.com/repos/markstory/activeadmin/events","assignees_url":"https://api.github.com/repos/markstory/activeadmin/assignees{/user}","branches_url":"https://api.github.com/repos/markstory/activeadmin/branches{/branch}","tags_url":"https://api.github.com/repos/markstory/activeadmin/tags","blobs_url":"https://api.github.com/repos/markstory/activeadmin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/markstory/activeadmin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/markstory/activeadmin/git/refs{/sha}","trees_url":"https://api.github.com/repos/markstory/activeadmin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/markstory/activeadmin/statuses/{sha}","languages_url":"https://api.github.com/repos/markstory/activeadmin/languages","stargazers_url":"https://api.github.com/repos/markstory/activeadmin/stargazers","contributors_url":"https://api.github.com/repos/markstory/activeadmin/contributors","subscribers_url":"https://api.github.com/repos/markstory/activeadmin/subscribers","subscription_url":"https://api.github.com/repos/markstory/activeadmin/subscription","commits_url":"https://api.github.com/repos/markstory/activeadmin/commits{/sha}","git_commits_url":"https://api.github.com/repos/markstory/activeadmin/git/commits{/sha}","comments_url":"https://api.github.com/repos/markstory/activeadmin/comments{/number}","issue_comment_url":"https://api.github.com/repos/markstory/activeadmin/issues/comments{/number}","contents_url":"https://api.github.com/repos/markstory/activeadmin/contents/{+path}","compare_url":"https://api.github.com/repos/markstory/activeadmin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/markstory/activeadmin/merges","archive_url":"https://api.github.com/repos/markstory/activeadmin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/markstory/activeadmin/downloads","issues_url":"https://api.github.com/repos/markstory/activeadmin/issues{/number}","pulls_url":"https://api.github.com/repos/markstory/activeadmin/pulls{/number}","milestones_url":"https://api.github.com/repos/markstory/activeadmin/milestones{/number}","notifications_url":"https://api.github.com/repos/markstory/activeadmin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/markstory/activeadmin/labels{/name}","releases_url":"https://api.github.com/repos/markstory/activeadmin/releases{/id}","deployments_url":"https://api.github.com/repos/markstory/activeadmin/deployments","created_at":"2017-12-11T15:19:18Z","updated_at":"2017-12-11T15:19:22Z","pushed_at":"2017-12-12T14:34:56Z","git_url":"git://github.com/markstory/activeadmin.git","ssh_url":"git@github.com:markstory/activeadmin.git","clone_url":"https://github.com/markstory/activeadmin.git","svn_url":"https://github.com/markstory/activeadmin","homepage":"https://activeadmin.info","size":7364,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"activeadmin:master","ref":"master","sha":"6a0f2481761ee1387b30b9c89353faa4b4ffb359","user":{"login":"activeadmin","id":814570,"avatar_url":"https://avatars1.githubusercontent.com/u/814570?v=4","gravatar_id":"","url":"https://api.github.com/users/activeadmin","html_url":"https://github.com/activeadmin","followers_url":"https://api.github.com/users/activeadmin/followers","following_url":"https://api.github.com/users/activeadmin/following{/other_user}","gists_url":"https://api.github.com/users/activeadmin/gists{/gist_id}","starred_url":"https://api.github.com/users/activeadmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/activeadmin/subscriptions","organizations_url":"https://api.github.com/users/activeadmin/orgs","repos_url":"https://api.github.com/users/activeadmin/repos","events_url":"https://api.github.com/users/activeadmin/events{/privacy}","received_events_url":"https://api.github.com/users/activeadmin/received_events","type":"Organization","site_admin":false},"repo":{"id":611921,"name":"activeadmin","full_name":"activeadmin/activeadmin","owner":{"login":"activeadmin","id":814570,"avatar_url":"https://avatars1.githubusercontent.com/u/814570?v=4","gravatar_id":"","url":"https://api.github.com/users/activeadmin","html_url":"https://github.com/activeadmin","followers_url":"https://api.github.com/users/activeadmin/followers","following_url":"https://api.github.com/users/activeadmin/following{/other_user}","gists_url":"https://api.github.com/users/activeadmin/gists{/gist_id}","starred_url":"https://api.github.com/users/activeadmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/activeadmin/subscriptions","organizations_url":"https://api.github.com/users/activeadmin/orgs","repos_url":"https://api.github.com/users/activeadmin/repos","events_url":"https://api.github.com/users/activeadmin/events{/privacy}","received_events_url":"https://api.github.com/users/activeadmin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/activeadmin/activeadmin","description":"The administration framework for Ruby on Rails applications.","fork":false,"url":"https://api.github.com/repos/activeadmin/activeadmin","forks_url":"https://api.github.com/repos/activeadmin/activeadmin/forks","keys_url":"https://api.github.com/repos/activeadmin/activeadmin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/activeadmin/activeadmin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/activeadmin/activeadmin/teams","hooks_url":"https://api.github.com/repos/activeadmin/activeadmin/hooks","issue_events_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/events{/number}","events_url":"https://api.github.com/repos/activeadmin/activeadmin/events","assignees_url":"https://api.github.com/repos/activeadmin/activeadmin/assignees{/user}","branches_url":"https://api.github.com/repos/activeadmin/activeadmin/branches{/branch}","tags_url":"https://api.github.com/repos/activeadmin/activeadmin/tags","blobs_url":"https://api.github.com/repos/activeadmin/activeadmin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/activeadmin/activeadmin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/activeadmin/activeadmin/git/refs{/sha}","trees_url":"https://api.github.com/repos/activeadmin/activeadmin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/activeadmin/activeadmin/statuses/{sha}","languages_url":"https://api.github.com/repos/activeadmin/activeadmin/languages","stargazers_url":"https://api.github.com/repos/activeadmin/activeadmin/stargazers","contributors_url":"https://api.github.com/repos/activeadmin/activeadmin/contributors","subscribers_url":"https://api.github.com/repos/activeadmin/activeadmin/subscribers","subscription_url":"https://api.github.com/repos/activeadmin/activeadmin/subscription","commits_url":"https://api.github.com/repos/activeadmin/activeadmin/commits{/sha}","git_commits_url":"https://api.github.com/repos/activeadmin/activeadmin/git/commits{/sha}","comments_url":"https://api.github.com/repos/activeadmin/activeadmin/comments{/number}","issue_comment_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/comments{/number}","contents_url":"https://api.github.com/repos/activeadmin/activeadmin/contents/{+path}","compare_url":"https://api.github.com/repos/activeadmin/activeadmin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/activeadmin/activeadmin/merges","archive_url":"https://api.github.com/repos/activeadmin/activeadmin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/activeadmin/activeadmin/downloads","issues_url":"https://api.github.com/repos/activeadmin/activeadmin/issues{/number}","pulls_url":"https://api.github.com/repos/activeadmin/activeadmin/pulls{/number}","milestones_url":"https://api.github.com/repos/activeadmin/activeadmin/milestones{/number}","notifications_url":"https://api.github.com/repos/activeadmin/activeadmin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/activeadmin/activeadmin/labels{/name}","releases_url":"https://api.github.com/repos/activeadmin/activeadmin/releases{/id}","deployments_url":"https://api.github.com/repos/activeadmin/activeadmin/deployments","created_at":"2010-04-15T14:26:03Z","updated_at":"2017-12-15T14:12:29Z","pushed_at":"2017-12-15T17:10:57Z","git_url":"git://github.com/activeadmin/activeadmin.git","ssh_url":"git@github.com:activeadmin/activeadmin.git","clone_url":"https://github.com/activeadmin/activeadmin.git","svn_url":"https://github.com/activeadmin/activeadmin","homepage":"https://activeadmin.info","size":7382,"stargazers_count":7705,"watchers_count":7705,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":2769,"mirror_url":null,"archived":false,"open_issues_count":191,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":2769,"open_issues":191,"watchers":7705,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/activeadmin/activeadmin/pulls/5284"},"html":{"href":"https://github.com/activeadmin/activeadmin/pull/5284"},"issue":{"href":"https://api.github.com/repos/activeadmin/activeadmin/issues/5284"},"comments":{"href":"https://api.github.com/repos/activeadmin/activeadmin/issues/5284/comments"},"review_comments":{"href":"https://api.github.com/repos/activeadmin/activeadmin/pulls/5284/comments"},"review_comment":{"href":"https://api.github.com/repos/activeadmin/activeadmin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/activeadmin/activeadmin/pulls/5284/commits"},"statuses":{"href":"https://api.github.com/repos/activeadmin/activeadmin/statuses/4f33fb013a3b75ff9ee141fa33e201a87a25f8bd"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"varyonic","id":780081,"avatar_url":"https://avatars3.githubusercontent.com/u/780081?v=4","gravatar_id":"","url":"https://api.github.com/users/varyonic","html_url":"https://github.com/varyonic","followers_url":"https://api.github.com/users/varyonic/followers","following_url":"https://api.github.com/users/varyonic/following{/other_user}","gists_url":"https://api.github.com/users/varyonic/gists{/gist_id}","starred_url":"https://api.github.com/users/varyonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varyonic/subscriptions","organizations_url":"https://api.github.com/users/varyonic/orgs","repos_url":"https://api.github.com/users/varyonic/repos","events_url":"https://api.github.com/users/varyonic/events{/privacy}","received_events_url":"https://api.github.com/users/varyonic/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":12,"deletions":3,"changed_files":3}}
{"actor":{"display_login":"varyonic"}}