{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/7121?format=json","vulnerability_id":"VCID-k1jn-jwbx-qya1","summary":"CSRF vulnerability\nIn the scenario where an attacker might be able to control the href attribute of an anchor tag or the action attribute of a form tag that will trigger a POST action, the attacker can set the nhref or action to \" https://attacker.com\" (note the leading space) that will be passed to JQuery, who will see this as a same origin request, and send the user's CSRF token to the attacker domain.","aliases":[{"alias":"GMS-2015-14"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/21144?format=json","purl":"pkg:npm/jquery-ujs@1.0.4","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/jquery-ujs@1.0.4"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/152483?format=json","purl":"pkg:npm/jquery-ujs@1.0.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-k1jn-jwbx-qya1"},{"vulnerability":"VCID-x5j5-g553-hudp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/jquery-ujs@1.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/152484?format=json","purl":"pkg:npm/jquery-ujs@1.0.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-k1jn-jwbx-qya1"},{"vulnerability":"VCID-x5j5-g553-hudp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/jquery-ujs@1.0.2"}],"references":[{"reference_url":"https://groups.google.com/forum/#!topic/ruby-security-ann/XIZPbobuwaY","reference_id":"","reference_type":"","scores":[],"url":"https://groups.google.com/forum/#!topic/ruby-security-ann/XIZPbobuwaY"}],"weaknesses":[{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."}],"exploits":[],"severity_range_score":null,"exploitability":"0.5","weighted_severity":"0.0","risk_score":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-k1jn-jwbx-qya1"}