Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/54688?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54688?format=api", "vulnerability_id": "VCID-bus3-azwk-cqfj", "summary": "Cross-site Scripting\nCross-site scripting vulnerability in EC-CUBE allows a remote attacker to inject an arbitrary script by leading an administrator or a user to a specially crafted page and to perform a specific operation.", "aliases": [ { "alias": "CVE-2021-20751" }, { "alias": "GHSA-r6qq-qc9m-98w2" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/80699?format=api", "purl": "pkg:composer/ec-cube/ec-cube@4.0.5", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ec-cube/ec-cube@4.0.5" }, { "url": "http://public2.vulnerablecode.io/api/packages/64197?format=api", "purl": "pkg:composer/ec-cube/ec-cube@4.0.6", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-f13c-wzhp-cqap" }, { "vulnerability": "VCID-fuus-wqhf-s3be" }, { "vulnerability": "VCID-he32-4cf1-akf5" }, { "vulnerability": "VCID-kgjm-uhbj-gffx" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ec-cube/ec-cube@4.0.6" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/60790?format=api", "purl": "pkg:composer/ec-cube/ec-cube@4.0.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-2vzq-r4pf-1kac" }, { "vulnerability": "VCID-bus3-azwk-cqfj" }, { "vulnerability": "VCID-ccu6-ebu1-nkax" }, { "vulnerability": "VCID-f13c-wzhp-cqap" }, { "vulnerability": "VCID-fuus-wqhf-s3be" }, { "vulnerability": "VCID-he32-4cf1-akf5" }, { "vulnerability": "VCID-kgjm-uhbj-gffx" }, { "vulnerability": "VCID-mr5c-68tz-nfbn" }, { "vulnerability": "VCID-zha4-9mts-pybk" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ec-cube/ec-cube@4.0.0" } ], "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-20751", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00591", "scoring_system": "epss", "scoring_elements": "0.69597", "published_at": "2026-06-04T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-20751" }, { "reference_url": "https://github.com/EC-CUBE/ec-cube", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/EC-CUBE/ec-cube" }, { "reference_url": "https://jvn.jp/en/jp/JVN95292458/index.html", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://jvn.jp/en/jp/JVN95292458/index.html" }, { "reference_url": "https://www.ec-cube.net/info/weakness/weakness.php?id=78", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://www.ec-cube.net/info/weakness/weakness.php?id=78" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20751", "reference_id": "CVE-2021-20751", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20751" } ], "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": "4.0 - 6.9", "exploitability": "0.5", "weighted_severity": "6.2", "risk_score": 3.1, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-bus3-azwk-cqfj" }