Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/68176?format=api",
    "vulnerability_id": "VCID-atvj-33e7-4qdk",
    "summary": "md-fileserver allows for local viewing of markdown files in a browser. Prior to version 1.10.3, a cross-site scripting (XSS) vulnerability exists in the application’s Markdown rendering logic. When user-supplied Markdown content is rendered, embedded raw HTML—including <script> tags—is processed and injected into the resulting page without sanitization, allowing arbitrary JavaScript execution in the context of the affected domain. This issue has been patched in version 1.10.3.",
    "aliases": [
        {
            "alias": "CVE-2026-46492"
        },
        {
            "alias": "GHSA-32q2-hhr5-6qvv"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/41369?format=api",
            "purl": "pkg:npm/md-fileserver@1.10.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/md-fileserver@1.10.3"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-46492",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00047",
                    "scoring_system": "epss",
                    "scoring_elements": "0.15163",
                    "published_at": "2026-06-14T12:55:00Z"
                },
                {
                    "value": "0.00047",
                    "scoring_system": "epss",
                    "scoring_elements": "0.15192",
                    "published_at": "2026-06-12T12:55:00Z"
                },
                {
                    "value": "0.00047",
                    "scoring_system": "epss",
                    "scoring_elements": "0.15067",
                    "published_at": "2026-06-11T12:55:00Z"
                },
                {
                    "value": "0.00047",
                    "scoring_system": "epss",
                    "scoring_elements": "0.15196",
                    "published_at": "2026-06-13T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-46492"
        },
        {
            "reference_url": "https://github.com/commenthol/md-fileserver",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/commenthol/md-fileserver"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-46492",
            "reference_id": "CVE-2026-46492",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-46492"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-32q2-hhr5-6qvv",
            "reference_id": "GHSA-32q2-hhr5-6qvv",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-32q2-hhr5-6qvv"
        },
        {
            "reference_url": "https://github.com/commenthol/md-fileserver/security/advisories/GHSA-32q2-hhr5-6qvv",
            "reference_id": "GHSA-32q2-hhr5-6qvv",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "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/2026-06-09T18:25:03Z/"
                }
            ],
            "url": "https://github.com/commenthol/md-fileserver/security/advisories/GHSA-32q2-hhr5-6qvv"
        },
        {
            "reference_url": "https://github.com/commenthol/md-fileserver/releases/tag/v1.10.3",
            "reference_id": "v1.10.3",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/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/2026-06-09T18:25:03Z/"
                }
            ],
            "url": "https://github.com/commenthol/md-fileserver/releases/tag/v1.10.3"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 80,
            "name": "Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)",
            "description": "The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as <, >, and & that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages."
        },
        {
            "cwe_id": 87,
            "name": "Improper Neutralization of Alternate XSS Syntax",
            "description": "The product does not neutralize or incorrectly neutralizes user-controlled input for alternate script syntax."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-atvj-33e7-4qdk"
}