{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/37545?format=json","vulnerability_id":"VCID-81fd-hg84-jkcm","summary":"Cross-Site Scripting with connect.methodOverride()\nThe middleware overwrites req.method with the req.body['_method'] value. When you don't catch the error it responds with a default error msg: \"Cannot [METHOD] [URL]\" . Because this is not enough sanitized, you can force a Cross-Site Scripting in the response.","aliases":[{"alias":"GMS-2013-13"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/6514?format=json","purl":"pkg:npm/connect@2.8.1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/connect@2.8.1"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/6513?format=json","purl":"pkg:npm/connect@2.8.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-81fd-hg84-jkcm"},{"vulnerability":"VCID-ff4q-8qw9-dfc1"},{"vulnerability":"VCID-nbgt-whdd-xyf9"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/connect@2.8.0"}],"references":[{"reference_url":"https://github.com/senchalabs/connect/issues/831","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/senchalabs/connect/issues/831"}],"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":null,"weighted_severity":null,"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-81fd-hg84-jkcm"}