Lookup for vulnerabilities affecting packages.

GET /api/vulnerabilities/16988?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/16988?format=api",
    "vulnerability_id": "VCID-mfcu-u5an-j3fm",
    "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in vega.",
    "aliases": [
        {
            "alias": "CVE-2023-26487"
        },
        {
            "alias": "GHSA-w5m3-xh75-mp55"
        },
        {
            "alias": "GMS-2023-582"
        },
        {
            "alias": "GMS-2023-584"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/210839?format=api",
            "purl": "pkg:deb/debian/vega.js@5.25.0%2Bds%2B~cs5.3.0-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/vega.js@5.25.0%252Bds%252B~cs5.3.0-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/210838?format=api",
            "purl": "pkg:deb/debian/vega.js@5.28.0%2Bds%2B~cs5.3.0-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7ewq-ggam-jfe8"
                },
                {
                    "vulnerability": "VCID-k4qz-jquz-9fbb"
                },
                {
                    "vulnerability": "VCID-pqpm-4u4f-e7b4"
                },
                {
                    "vulnerability": "VCID-scr9-9mp2-7uge"
                },
                {
                    "vulnerability": "VCID-vw4p-7h9v-abac"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/vega.js@5.28.0%252Bds%252B~cs5.3.0-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/210837?format=api",
            "purl": "pkg:deb/debian/vega.js@5.33.1%2Bds%2B~cs5.3.0-4?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/vega.js@5.33.1%252Bds%252B~cs5.3.0-4%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62929?format=api",
            "purl": "pkg:npm/vega@5.23.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/vega@5.23.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62936?format=api",
            "purl": "pkg:npm/vega-functions@5.13.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/vega-functions@5.13.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/210835?format=api",
            "purl": "pkg:deb/debian/vega.js@5.22.1%2Bds%2B~3.1.0-4?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4x5a-5ex4-ckgh"
                },
                {
                    "vulnerability": "VCID-7ewq-ggam-jfe8"
                },
                {
                    "vulnerability": "VCID-k4qz-jquz-9fbb"
                },
                {
                    "vulnerability": "VCID-mfcu-u5an-j3fm"
                },
                {
                    "vulnerability": "VCID-pqpm-4u4f-e7b4"
                },
                {
                    "vulnerability": "VCID-scr9-9mp2-7uge"
                },
                {
                    "vulnerability": "VCID-vw4p-7h9v-abac"
                },
                {
                    "vulnerability": "VCID-z3vb-m3pm-r3bx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/vega.js@5.22.1%252Bds%252B~3.1.0-4%3Fdistro=trixie"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-26487.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-26487.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2023-26487",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00354",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57967",
                    "published_at": "2026-05-30T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2023-26487"
        },
        {
            "reference_url": "https://github.com/vega/vega",
            "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/vega/vega"
        },
        {
            "reference_url": "https://github.com/vega/vega/commit/01adb034f24727d3bb321bbbb6696a7f4cd91689",
            "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": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-02-25T14:31:39Z/"
                }
            ],
            "url": "https://github.com/vega/vega/commit/01adb034f24727d3bb321bbbb6696a7f4cd91689"
        },
        {
            "reference_url": "https://github.com/vega/vega/releases/tag/v5.23.0",
            "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": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-02-25T14:31:39Z/"
                }
            ],
            "url": "https://github.com/vega/vega/releases/tag/v5.23.0"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2190159",
            "reference_id": "2190159",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2190159"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-26487",
            "reference_id": "CVE-2023-26487",
            "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-2023-26487"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-w5m3-xh75-mp55",
            "reference_id": "GHSA-w5m3-xh75-mp55",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-w5m3-xh75-mp55"
        },
        {
            "reference_url": "https://github.com/vega/vega/security/advisories/GHSA-w5m3-xh75-mp55",
            "reference_id": "GHSA-w5m3-xh75-mp55",
            "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": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-02-25T14:31:39Z/"
                }
            ],
            "url": "https://github.com/vega/vega/security/advisories/GHSA-w5m3-xh75-mp55"
        }
    ],
    "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": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mfcu-u5an-j3fm"
}