{"action":"closed","number":115,"pull_request":{"url":"https://api.github.com/repos/OWASP/NodeGoat/pulls/115","id":214106367,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0MTA2MzY3","html_url":"https://github.com/OWASP/NodeGoat/pull/115","diff_url":"https://github.com/OWASP/NodeGoat/pull/115.diff","patch_url":"https://github.com/OWASP/NodeGoat/pull/115.patch","issue_url":"https://api.github.com/repos/OWASP/NodeGoat/issues/115","number":115,"state":"closed","locked":false,"title":"feat(xss-context): add example for context sensitive XSS encoding issues","user":{"login":"lirantal","id":316371,"node_id":"MDQ6VXNlcjMxNjM3MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/316371?v=4","gravatar_id":"","url":"https://api.github.com/users/lirantal","html_url":"https://github.com/lirantal","followers_url":"https://api.github.com/users/lirantal/followers","following_url":"https://api.github.com/users/lirantal/following{/other_user}","gists_url":"https://api.github.com/users/lirantal/gists{/gist_id}","starred_url":"https://api.github.com/users/lirantal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lirantal/subscriptions","organizations_url":"https://api.github.com/users/lirantal/orgs","repos_url":"https://api.github.com/users/lirantal/repos","events_url":"https://api.github.com/users/lirantal/events{/privacy}","received_events_url":"https://api.github.com/users/lirantal/received_events","type":"User","site_admin":false},"body":"Adding a case where we use the same variable as a URL for a hyperlink. While the variable is encoded for HTML for the input element, it isn't suitable for the URL entry.\r\n\r\n<img width=\"540\" alt=\"owasp node js goat project context sensitive xss\" src=\"https://user-images.githubusercontent.com/316371/45256990-1fd89c80-b3a7-11e8-829c-30ca21506fc7.png\">\r\n","created_at":"2018-09-08T17:38:57Z","updated_at":"2018-09-09T07:12:56Z","closed_at":"2018-09-09T07:12:56Z","merged_at":"2018-09-09T07:12:56Z","merge_commit_sha":"86d2c6a8f42d08af509762c83af2bfc86891e264","assignee":{"login":"lirantal","id":316371,"node_id":"MDQ6VXNlcjMxNjM3MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/316371?v=4","gravatar_id":"","url":"https://api.github.com/users/lirantal","html_url":"https://github.com/lirantal","followers_url":"https://api.github.com/users/lirantal/followers","following_url":"https://api.github.com/users/lirantal/following{/other_user}","gists_url":"https://api.github.com/users/lirantal/gists{/gist_id}","starred_url":"https://api.github.com/users/lirantal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lirantal/subscriptions","organizations_url":"https://api.github.com/users/lirantal/orgs","repos_url":"https://api.github.com/users/lirantal/repos","events_url":"https://api.github.com/users/lirantal/events{/privacy}","received_events_url":"https://api.github.com/users/lirantal/received_events","type":"User","site_admin":false},"assignees":[{"login":"lirantal","id":316371,"node_id":"MDQ6VXNlcjMxNjM3MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/316371?v=4","gravatar_id":"","url":"https://api.github.com/users/lirantal","html_url":"https://github.com/lirantal","followers_url":"https://api.github.com/users/lirantal/followers","following_url":"https://api.github.com/users/lirantal/following{/other_user}","gists_url":"https://api.github.com/users/lirantal/gists{/gist_id}","starred_url":"https://api.github.com/users/lirantal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lirantal/subscriptions","organizations_url":"https://api.github.com/users/lirantal/orgs","repos_url":"https://api.github.com/users/lirantal/repos","events_url":"https://api.github.com/users/lirantal/events{/privacy}","received_events_url":"https://api.github.com/users/lirantal/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"ckarande","id":264859,"node_id":"MDQ6VXNlcjI2NDg1OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/264859?v=4","gravatar_id":"","url":"https://api.github.com/users/ckarande","html_url":"https://github.com/ckarande","followers_url":"https://api.github.com/users/ckarande/followers","following_url":"https://api.github.com/users/ckarande/following{/other_user}","gists_url":"https://api.github.com/users/ckarande/gists{/gist_id}","starred_url":"https://api.github.com/users/ckarande/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckarande/subscriptions","organizations_url":"https://api.github.com/users/ckarande/orgs","repos_url":"https://api.github.com/users/ckarande/repos","events_url":"https://api.github.com/users/ckarande/events{/privacy}","received_events_url":"https://api.github.com/users/ckarande/received_events","type":"User","site_admin":false},{"login":"binarymist","id":2862029,"node_id":"MDQ6VXNlcjI4NjIwMjk=","avatar_url":"https://avatars3.githubusercontent.com/u/2862029?v=4","gravatar_id":"","url":"https://api.github.com/users/binarymist","html_url":"https://github.com/binarymist","followers_url":"https://api.github.com/users/binarymist/followers","following_url":"https://api.github.com/users/binarymist/following{/other_user}","gists_url":"https://api.github.com/users/binarymist/gists{/gist_id}","starred_url":"https://api.github.com/users/binarymist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binarymist/subscriptions","organizations_url":"https://api.github.com/users/binarymist/orgs","repos_url":"https://api.github.com/users/binarymist/repos","events_url":"https://api.github.com/users/binarymist/events{/privacy}","received_events_url":"https://api.github.com/users/binarymist/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":61971712,"node_id":"MDU6TGFiZWw2MTk3MTcxMg==","url":"https://api.github.com/repos/OWASP/NodeGoat/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/OWASP/NodeGoat/pulls/115/commits","review_comments_url":"https://api.github.com/repos/OWASP/NodeGoat/pulls/115/comments","review_comment_url":"https://api.github.com/repos/OWASP/NodeGoat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OWASP/NodeGoat/issues/115/comments","statuses_url":"https://api.github.com/repos/OWASP/NodeGoat/statuses/9f644155b0d4ae4d4e6c45184dac78ddc0032dc5","head":{"label":"lirantal:xss/context-sensitive","ref":"xss/context-sensitive","sha":"9f644155b0d4ae4d4e6c45184dac78ddc0032dc5","user":{"login":"lirantal","id":316371,"node_id":"MDQ6VXNlcjMxNjM3MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/316371?v=4","gravatar_id":"","url":"https://api.github.com/users/lirantal","html_url":"https://github.com/lirantal","followers_url":"https://api.github.com/users/lirantal/followers","following_url":"https://api.github.com/users/lirantal/following{/other_user}","gists_url":"https://api.github.com/users/lirantal/gists{/gist_id}","starred_url":"https://api.github.com/users/lirantal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lirantal/subscriptions","organizations_url":"https://api.github.com/users/lirantal/orgs","repos_url":"https://api.github.com/users/lirantal/repos","events_url":"https://api.github.com/users/lirantal/events{/privacy}","received_events_url":"https://api.github.com/users/lirantal/received_events","type":"User","site_admin":false},"repo":{"id":75539714,"node_id":"MDEwOlJlcG9zaXRvcnk3NTUzOTcxNA==","name":"NodeGoat","full_name":"lirantal/NodeGoat","owner":{"login":"lirantal","id":316371,"node_id":"MDQ6VXNlcjMxNjM3MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/316371?v=4","gravatar_id":"","url":"https://api.github.com/users/lirantal","html_url":"https://github.com/lirantal","followers_url":"https://api.github.com/users/lirantal/followers","following_url":"https://api.github.com/users/lirantal/following{/other_user}","gists_url":"https://api.github.com/users/lirantal/gists{/gist_id}","starred_url":"https://api.github.com/users/lirantal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lirantal/subscriptions","organizations_url":"https://api.github.com/users/lirantal/orgs","repos_url":"https://api.github.com/users/lirantal/repos","events_url":"https://api.github.com/users/lirantal/events{/privacy}","received_events_url":"https://api.github.com/users/lirantal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lirantal/NodeGoat","description":"The OWASP NodeGoat project provides an environment to learn how OWASP Top 10 security risks apply to web applications developed using Node.js and how to effectively address them.","fork":true,"url":"https://api.github.com/repos/lirantal/NodeGoat","forks_url":"https://api.github.com/repos/lirantal/NodeGoat/forks","keys_url":"https://api.github.com/repos/lirantal/NodeGoat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lirantal/NodeGoat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lirantal/NodeGoat/teams","hooks_url":"https://api.github.com/repos/lirantal/NodeGoat/hooks","issue_events_url":"https://api.github.com/repos/lirantal/NodeGoat/issues/events{/number}","events_url":"https://api.github.com/repos/lirantal/NodeGoat/events","assignees_url":"https://api.github.com/repos/lirantal/NodeGoat/assignees{/user}","branches_url":"https://api.github.com/repos/lirantal/NodeGoat/branches{/branch}","tags_url":"https://api.github.com/repos/lirantal/NodeGoat/tags","blobs_url":"https://api.github.com/repos/lirantal/NodeGoat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lirantal/NodeGoat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lirantal/NodeGoat/git/refs{/sha}","trees_url":"https://api.github.com/repos/lirantal/NodeGoat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lirantal/NodeGoat/statuses/{sha}","languages_url":"https://api.github.com/repos/lirantal/NodeGoat/languages","stargazers_url":"https://api.github.com/repos/lirantal/NodeGoat/stargazers","contributors_url":"https://api.github.com/repos/lirantal/NodeGoat/contributors","subscribers_url":"https://api.github.com/repos/lirantal/NodeGoat/subscribers","subscription_url":"https://api.github.com/repos/lirantal/NodeGoat/subscription","commits_url":"https://api.github.com/repos/lirantal/NodeGoat/commits{/sha}","git_commits_url":"https://api.github.com/repos/lirantal/NodeGoat/git/commits{/sha}","comments_url":"https://api.github.com/repos/lirantal/NodeGoat/comments{/number}","issue_comment_url":"https://api.github.com/repos/lirantal/NodeGoat/issues/comments{/number}","contents_url":"https://api.github.com/repos/lirantal/NodeGoat/contents/{+path}","compare_url":"https://api.github.com/repos/lirantal/NodeGoat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lirantal/NodeGoat/merges","archive_url":"https://api.github.com/repos/lirantal/NodeGoat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lirantal/NodeGoat/downloads","issues_url":"https://api.github.com/repos/lirantal/NodeGoat/issues{/number}","pulls_url":"https://api.github.com/repos/lirantal/NodeGoat/pulls{/number}","milestones_url":"https://api.github.com/repos/lirantal/NodeGoat/milestones{/number}","notifications_url":"https://api.github.com/repos/lirantal/NodeGoat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lirantal/NodeGoat/labels{/name}","releases_url":"https://api.github.com/repos/lirantal/NodeGoat/releases{/id}","deployments_url":"https://api.github.com/repos/lirantal/NodeGoat/deployments","created_at":"2016-12-04T13:38:40Z","updated_at":"2016-12-04T13:38:42Z","pushed_at":"2018-09-08T18:33:54Z","git_url":"git://github.com/lirantal/NodeGoat.git","ssh_url":"git@github.com:lirantal/NodeGoat.git","clone_url":"https://github.com/lirantal/NodeGoat.git","svn_url":"https://github.com/lirantal/NodeGoat","homepage":"https://www.owasp.org/index.php/Projects/OWASP_Node_js_Goat_Project","size":7991,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OWASP:master","ref":"master","sha":"e385d77e53898f3e6c9697f6640462755ffa9e15","user":{"login":"OWASP","id":155815,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1NTgxNQ==","avatar_url":"https://avatars0.githubusercontent.com/u/155815?v=4","gravatar_id":"","url":"https://api.github.com/users/OWASP","html_url":"https://github.com/OWASP","followers_url":"https://api.github.com/users/OWASP/followers","following_url":"https://api.github.com/users/OWASP/following{/other_user}","gists_url":"https://api.github.com/users/OWASP/gists{/gist_id}","starred_url":"https://api.github.com/users/OWASP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OWASP/subscriptions","organizations_url":"https://api.github.com/users/OWASP/orgs","repos_url":"https://api.github.com/users/OWASP/repos","events_url":"https://api.github.com/users/OWASP/events{/privacy}","received_events_url":"https://api.github.com/users/OWASP/received_events","type":"Organization","site_admin":false},"repo":{"id":13752333,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc1MjMzMw==","name":"NodeGoat","full_name":"OWASP/NodeGoat","owner":{"login":"OWASP","id":155815,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1NTgxNQ==","avatar_url":"https://avatars0.githubusercontent.com/u/155815?v=4","gravatar_id":"","url":"https://api.github.com/users/OWASP","html_url":"https://github.com/OWASP","followers_url":"https://api.github.com/users/OWASP/followers","following_url":"https://api.github.com/users/OWASP/following{/other_user}","gists_url":"https://api.github.com/users/OWASP/gists{/gist_id}","starred_url":"https://api.github.com/users/OWASP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OWASP/subscriptions","organizations_url":"https://api.github.com/users/OWASP/orgs","repos_url":"https://api.github.com/users/OWASP/repos","events_url":"https://api.github.com/users/OWASP/events{/privacy}","received_events_url":"https://api.github.com/users/OWASP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OWASP/NodeGoat","description":"The OWASP NodeGoat project provides an environment to learn how OWASP Top 10 security risks apply to web applications developed using Node.js and how to effectively address them.","fork":false,"url":"https://api.github.com/repos/OWASP/NodeGoat","forks_url":"https://api.github.com/repos/OWASP/NodeGoat/forks","keys_url":"https://api.github.com/repos/OWASP/NodeGoat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OWASP/NodeGoat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OWASP/NodeGoat/teams","hooks_url":"https://api.github.com/repos/OWASP/NodeGoat/hooks","issue_events_url":"https://api.github.com/repos/OWASP/NodeGoat/issues/events{/number}","events_url":"https://api.github.com/repos/OWASP/NodeGoat/events","assignees_url":"https://api.github.com/repos/OWASP/NodeGoat/assignees{/user}","branches_url":"https://api.github.com/repos/OWASP/NodeGoat/branches{/branch}","tags_url":"https://api.github.com/repos/OWASP/NodeGoat/tags","blobs_url":"https://api.github.com/repos/OWASP/NodeGoat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OWASP/NodeGoat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OWASP/NodeGoat/git/refs{/sha}","trees_url":"https://api.github.com/repos/OWASP/NodeGoat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OWASP/NodeGoat/statuses/{sha}","languages_url":"https://api.github.com/repos/OWASP/NodeGoat/languages","stargazers_url":"https://api.github.com/repos/OWASP/NodeGoat/stargazers","contributors_url":"https://api.github.com/repos/OWASP/NodeGoat/contributors","subscribers_url":"https://api.github.com/repos/OWASP/NodeGoat/subscribers","subscription_url":"https://api.github.com/repos/OWASP/NodeGoat/subscription","commits_url":"https://api.github.com/repos/OWASP/NodeGoat/commits{/sha}","git_commits_url":"https://api.github.com/repos/OWASP/NodeGoat/git/commits{/sha}","comments_url":"https://api.github.com/repos/OWASP/NodeGoat/comments{/number}","issue_comment_url":"https://api.github.com/repos/OWASP/NodeGoat/issues/comments{/number}","contents_url":"https://api.github.com/repos/OWASP/NodeGoat/contents/{+path}","compare_url":"https://api.github.com/repos/OWASP/NodeGoat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OWASP/NodeGoat/merges","archive_url":"https://api.github.com/repos/OWASP/NodeGoat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OWASP/NodeGoat/downloads","issues_url":"https://api.github.com/repos/OWASP/NodeGoat/issues{/number}","pulls_url":"https://api.github.com/repos/OWASP/NodeGoat/pulls{/number}","milestones_url":"https://api.github.com/repos/OWASP/NodeGoat/milestones{/number}","notifications_url":"https://api.github.com/repos/OWASP/NodeGoat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OWASP/NodeGoat/labels{/name}","releases_url":"https://api.github.com/repos/OWASP/NodeGoat/releases{/id}","deployments_url":"https://api.github.com/repos/OWASP/NodeGoat/deployments","created_at":"2013-10-21T19:14:52Z","updated_at":"2018-09-05T01:11:48Z","pushed_at":"2018-09-09T07:12:56Z","git_url":"git://github.com/OWASP/NodeGoat.git","ssh_url":"git@github.com:OWASP/NodeGoat.git","clone_url":"https://github.com/OWASP/NodeGoat.git","svn_url":"https://github.com/OWASP/NodeGoat","homepage":"https://www.owasp.org/index.php/Projects/OWASP_Node_js_Goat_Project","size":7989,"stargazers_count":709,"watchers_count":709,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":346,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":346,"open_issues":11,"watchers":709,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OWASP/NodeGoat/pulls/115"},"html":{"href":"https://github.com/OWASP/NodeGoat/pull/115"},"issue":{"href":"https://api.github.com/repos/OWASP/NodeGoat/issues/115"},"comments":{"href":"https://api.github.com/repos/OWASP/NodeGoat/issues/115/comments"},"review_comments":{"href":"https://api.github.com/repos/OWASP/NodeGoat/pulls/115/comments"},"review_comment":{"href":"https://api.github.com/repos/OWASP/NodeGoat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OWASP/NodeGoat/pulls/115/commits"},"statuses":{"href":"https://api.github.com/repos/OWASP/NodeGoat/statuses/9f644155b0d4ae4d4e6c45184dac78ddc0032dc5"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"lirantal","id":316371,"node_id":"MDQ6VXNlcjMxNjM3MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/316371?v=4","gravatar_id":"","url":"https://api.github.com/users/lirantal","html_url":"https://github.com/lirantal","followers_url":"https://api.github.com/users/lirantal/followers","following_url":"https://api.github.com/users/lirantal/following{/other_user}","gists_url":"https://api.github.com/users/lirantal/gists{/gist_id}","starred_url":"https://api.github.com/users/lirantal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lirantal/subscriptions","organizations_url":"https://api.github.com/users/lirantal/orgs","repos_url":"https://api.github.com/users/lirantal/repos","events_url":"https://api.github.com/users/lirantal/events{/privacy}","received_events_url":"https://api.github.com/users/lirantal/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":19,"deletions":5,"changed_files":2}}
{"actor":{"display_login":"lirantal"}}