Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/39473?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39473?format=api", "vulnerability_id": "VCID-qmmp-f9x2-efbg", "summary": "Cross-Site Request Forgery (CSRF)\nPym.js contains a CSRF vulnerability in `Pym.js` `onNavigateToMessage` function that can result in arbitrary javascript code execution.", "aliases": [ { "alias": "CVE-2018-1000086" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/55164?format=api", "purl": "pkg:npm/pym.js@1.3.2", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/pym.js@1.3.2" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/55162?format=api", "purl": "pkg:npm/pym.js@0.4.2", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-qmmp-f9x2-efbg" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/pym.js@0.4.2" }, { "url": "http://public2.vulnerablecode.io/api/packages/55163?format=api", "purl": "pkg:npm/pym.js@1.3.1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-qmmp-f9x2-efbg" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/pym.js@1.3.1" } ], "references": [ { "reference_url": "http://blog.apps.npr.org/2018/02/15/pym-security-vulnerability.html", "reference_id": "", "reference_type": "", "scores": [], "url": "http://blog.apps.npr.org/2018/02/15/pym-security-vulnerability.html" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000086", "reference_id": "CVE-2018-1000086", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000086" } ], "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": 352, "name": "Cross-Site Request Forgery (CSRF)", "description": "The web application does not, or can not, sufficiently verify whether a well-formed, valid, consistent request was intentionally provided by the user who submitted the request." }, { "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-qmmp-f9x2-efbg" }