Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/18259?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/18259?format=api", "vulnerability_id": "VCID-tgv8-gmnu-2fg4", "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nCross-site Scripting (XSS) - Stored in GitHub repository cockpit-hq/cockpit prior to 2.4.3.", "aliases": [ { "alias": "CVE-2023-4321" }, { "alias": "GHSA-3vf5-xm2p-6mh5" } ], "fixed_packages": [], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/65378?format=api", "purl": "pkg:composer/cockpit-hq/cockpit@2.6.2", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-tgv8-gmnu-2fg4" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/cockpit-hq/cockpit@2.6.2" } ], "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2023-4321", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00447", "scoring_system": "epss", "scoring_elements": "0.63795", "published_at": "2026-05-30T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2023-4321" }, { "reference_url": "https://github.com/cockpit-hq/cockpit/commit/34ab31ee9362da51b9709e178469dbffd7717249", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/cockpit-hq/cockpit/commit/34ab31ee9362da51b9709e178469dbffd7717249" }, { "reference_url": "https://huntr.dev/bounties/fce38751-bfd6-484c-b6e1-935e0aa8ffdc", "reference_id": "", "reference_type": "", "scores": [], "url": "https://huntr.dev/bounties/fce38751-bfd6-484c-b6e1-935e0aa8ffdc" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-4321", "reference_id": "CVE-2023-4321", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-4321" }, { "reference_url": "https://github.com/advisories/GHSA-3vf5-xm2p-6mh5", "reference_id": "GHSA-3vf5-xm2p-6mh5", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-3vf5-xm2p-6mh5" } ], "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-tgv8-gmnu-2fg4" }