Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45149?format=api",
    "vulnerability_id": "VCID-ajne-94uk-ubdy",
    "summary": "m.static Directory Traversal vulnerability\nAll versions of the package m.static are vulnerable to Directory Traversal due to improper input sanitization of the path being requested via the `requestFile` function.",
    "aliases": [
        {
            "alias": "CVE-2023-26126"
        },
        {
            "alias": "GHSA-vcxh-qvgr-9fw9"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/651021?format=api",
            "purl": "pkg:npm/m.static@1.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ajne-94uk-ubdy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/m.static@1.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/651022?format=api",
            "purl": "pkg:npm/m.static@1.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ajne-94uk-ubdy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/m.static@1.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/651023?format=api",
            "purl": "pkg:npm/m.static@1.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ajne-94uk-ubdy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/m.static@1.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/651024?format=api",
            "purl": "pkg:npm/m.static@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ajne-94uk-ubdy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/m.static@2.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/651025?format=api",
            "purl": "pkg:npm/m.static@2.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ajne-94uk-ubdy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/m.static@2.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/651026?format=api",
            "purl": "pkg:npm/m.static@2.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ajne-94uk-ubdy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/m.static@2.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65082?format=api",
            "purl": "pkg:npm/m.static@2.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ajne-94uk-ubdy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/m.static@2.2.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2023-26126",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00651",
                    "scoring_system": "epss",
                    "scoring_elements": "0.71303",
                    "published_at": "2026-06-05T12:55:00Z"
                },
                {
                    "value": "0.00651",
                    "scoring_system": "epss",
                    "scoring_elements": "0.71259",
                    "published_at": "2026-06-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2023-26126"
        },
        {
            "reference_url": "https://gist.github.com/lirantal/dcb32c11ce87f5aafd2282b90b4dc998",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P"
                },
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2025-01-27T18:38:10Z/"
                }
            ],
            "url": "https://gist.github.com/lirantal/dcb32c11ce87f5aafd2282b90b4dc998"
        },
        {
            "reference_url": "https://github.com/ivoputzer/m.static",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/ivoputzer/m.static"
        },
        {
            "reference_url": "https://github.com/ivoputzer/m.static/blob/master/index.js#L19",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/ivoputzer/m.static/blob/master/index.js#L19"
        },
        {
            "reference_url": "https://security.snyk.io/vuln/SNYK-JS-MSTATIC-3244915",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P"
                },
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2025-01-27T18:38:10Z/"
                }
            ],
            "url": "https://security.snyk.io/vuln/SNYK-JS-MSTATIC-3244915"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-26126",
            "reference_id": "CVE-2023-26126",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-26126"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-vcxh-qvgr-9fw9",
            "reference_id": "GHSA-vcxh-qvgr-9fw9",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-vcxh-qvgr-9fw9"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 22,
            "name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
            "description": "The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory."
        },
        {
            "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."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ajne-94uk-ubdy"
}