Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/67348?format=api",
    "vulnerability_id": "VCID-e3yv-g9ay-vuf6",
    "summary": "Versions of the package jsondiffpatch before 0.7.6 are vulnerable to Cross-site Scripting (XSS) via the annotated formatter due to improper sanitization of JSON values and property names. If an application compares untrusted JSON/object data and renders annotated formatter output in the DOM, attacker-controlled HTML can be interpreted by the browser, resulting in XSS.",
    "aliases": [
        {
            "alias": "CVE-2026-8656"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-8656",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00031",
                    "scoring_system": "epss",
                    "scoring_elements": "0.09571",
                    "published_at": "2026-06-12T12:55:00Z"
                },
                {
                    "value": "0.00031",
                    "scoring_system": "epss",
                    "scoring_elements": "0.09519",
                    "published_at": "2026-06-11T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-8656"
        },
        {
            "reference_url": "https://github.com/benjamine/jsondiffpatch/commit/232338b34c4653148ca2f44e897a765b72c8c98f",
            "reference_id": "232338b34c4653148ca2f44e897a765b72c8c98f",
            "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/E:P"
                },
                {
                    "value": "5.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:P"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2026-05-18T12:59:22Z/"
                }
            ],
            "url": "https://github.com/benjamine/jsondiffpatch/commit/232338b34c4653148ca2f44e897a765b72c8c98f"
        },
        {
            "reference_url": "https://gist.github.com/yuki-matsuhashi/72ed072d919f3c52adba298faa6a7da5",
            "reference_id": "72ed072d919f3c52adba298faa6a7da5",
            "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/E:P"
                },
                {
                    "value": "5.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:P"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2026-05-18T12:59:22Z/"
                }
            ],
            "url": "https://gist.github.com/yuki-matsuhashi/72ed072d919f3c52adba298faa6a7da5"
        },
        {
            "reference_url": "https://security.snyk.io/vuln/SNYK-JS-JSONDIFFPATCH-16635946",
            "reference_id": "SNYK-JS-JSONDIFFPATCH-16635946",
            "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/E:P"
                },
                {
                    "value": "5.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:P"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2026-05-18T12:59:22Z/"
                }
            ],
            "url": "https://security.snyk.io/vuln/SNYK-JS-JSONDIFFPATCH-16635946"
        }
    ],
    "weaknesses": [
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": "5.1 - 6.1",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-e3yv-g9ay-vuf6"
}