{"url":"http://public2.vulnerablecode.io/api/packages/92519?format=json","purl":"pkg:npm/jquery-ujs@1.0.0","type":"npm","namespace":"","name":"jquery-ujs","version":"1.0.0","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":"1.0.4","latest_non_vulnerable_version":"1.0.4","affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/10678?format=json","vulnerability_id":"VCID-bjpx-rnpd-pkbf","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.","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"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/51235?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"}],"aliases":["GMS-2015-14"],"risk_score":null,"exploitability":"0.5","weighted_severity":"0.0","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-bjpx-rnpd-pkbf"}],"fixing_vulnerabilities":[],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/jquery-ujs@1.0.0"}