Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/40580?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40580?format=api", "vulnerability_id": "VCID-7v6u-ypg7-bua1", "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nAn issue was discovered in hsweb 3.0.4. It is a reflected XSS vulnerability due to the absence of type parameter checking in FlowableModelManagerController.java.", "aliases": [ { "alias": "CVE-2018-20594" }, { "alias": "GHSA-qqv6-5w6p-3pgr" } ], "fixed_packages": [], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/57274?format=api", "purl": "pkg:maven/org.hswebframework.web/hsweb-commons@3.0.4", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-2xwj-t3jg-hqe3" }, { "vulnerability": "VCID-7v6u-ypg7-bua1" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.hswebframework.web/hsweb-commons@3.0.4" } ], "references": [ { "reference_url": "https://github.com/hs-web/hsweb-framework/commit/b72a2275ed21240296c6539bae1049c56abb542f", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/hs-web/hsweb-framework/commit/b72a2275ed21240296c6539bae1049c56abb542f" }, { "reference_url": "https://github.com/hs-web/hsweb-framework/issues/107", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/hs-web/hsweb-framework/issues/107" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-20594", "reference_id": "CVE-2018-20594", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-20594" }, { "reference_url": "https://github.com/advisories/GHSA-qqv6-5w6p-3pgr", "reference_id": "GHSA-qqv6-5w6p-3pgr", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-qqv6-5w6p-3pgr" } ], "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": 79, "name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')", "description": "The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users." }, { "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-7v6u-ypg7-bua1" }