Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/81397?format=api",
    "vulnerability_id": "VCID-ut6t-m21b-wfgk",
    "summary": "jquery: crafted onerror attribute of an IMG element could result in XSS",
    "aliases": [
        {
            "alias": "CVE-2018-18405"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/155274?format=api",
            "purl": "pkg:npm/jquery@2.2.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3s9f-prpy-hbcx"
                },
                {
                    "vulnerability": "VCID-5618-53yg-8qh4"
                },
                {
                    "vulnerability": "VCID-7efr-3g5x-ryfv"
                },
                {
                    "vulnerability": "VCID-8mpx-4ueh-qqfv"
                },
                {
                    "vulnerability": "VCID-cvxp-ctj9-guej"
                },
                {
                    "vulnerability": "VCID-tmjp-8edk-nyh3"
                },
                {
                    "vulnerability": "VCID-tvcp-hyc5-57eq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jquery@2.2.3"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/155273?format=api",
            "purl": "pkg:npm/jquery@2.2.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3s9f-prpy-hbcx"
                },
                {
                    "vulnerability": "VCID-5618-53yg-8qh4"
                },
                {
                    "vulnerability": "VCID-7efr-3g5x-ryfv"
                },
                {
                    "vulnerability": "VCID-8mpx-4ueh-qqfv"
                },
                {
                    "vulnerability": "VCID-cvxp-ctj9-guej"
                },
                {
                    "vulnerability": "VCID-tmjp-8edk-nyh3"
                },
                {
                    "vulnerability": "VCID-tvcp-hyc5-57eq"
                },
                {
                    "vulnerability": "VCID-ut6t-m21b-wfgk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jquery@2.2.2"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-18405.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-18405.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-18405",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00298",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53199",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00298",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53121",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00298",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53191",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00298",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53152",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00298",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53106",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00298",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53101",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00298",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53145",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00298",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53113",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00298",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53164",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00298",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53156",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00298",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53207",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00298",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53192",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00298",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53176",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00298",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53215",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00298",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53222",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00298",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53205",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00298",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53178",
                    "published_at": "2026-04-24T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-18405"
        },
        {
            "reference_url": "https://twitter.com/DanielRufde/status/1255185961866145792",
            "reference_id": "1255185961866145792",
            "reference_type": "",
            "scores": [
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-06-11T18:00:46Z/"
                }
            ],
            "url": "https://twitter.com/DanielRufde/status/1255185961866145792"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1837506",
            "reference_id": "1837506",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1837506"
        },
        {
            "reference_url": "https://gist.github.com/CyberSecurityUP/26c5b032897630fe8407da4a8ef216d4",
            "reference_id": "26c5b032897630fe8407da4a8ef216d4",
            "reference_type": "",
            "scores": [
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-06-11T18:00:46Z/"
                }
            ],
            "url": "https://gist.github.com/CyberSecurityUP/26c5b032897630fe8407da4a8ef216d4"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-18405",
            "reference_id": "CVE-2018-18405",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-18405"
        },
        {
            "reference_url": "https://gitter.im/jquery/jquery?at=5ea844a05cd4fe50a3d7ddc9",
            "reference_id": "jquery?at=5ea844a05cd4fe50a3d7ddc9",
            "reference_type": "",
            "scores": [
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-06-11T18:00:46Z/"
                }
            ],
            "url": "https://gitter.im/jquery/jquery?at=5ea844a05cd4fe50a3d7ddc9"
        },
        {
            "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VOE7P7APPRQKD4FGNHBKJPDY6FFCOH3W/",
            "reference_id": "VOE7P7APPRQKD4FGNHBKJPDY6FFCOH3W",
            "reference_type": "",
            "scores": [
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-06-11T18:00:46Z/"
                }
            ],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VOE7P7APPRQKD4FGNHBKJPDY6FFCOH3W/"
        }
    ],
    "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": null,
    "exploitability": "0.5",
    "weighted_severity": "0.0",
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ut6t-m21b-wfgk"
}