Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/16693?format=api",
    "vulnerability_id": "VCID-np26-hprc-gbcf",
    "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nCross Site Scripting (XSS) vulnerability in the DataTables plug-in 1.9.2 for jQuery allows attackers to run arbitrary code via the sBaseName parameter to function `_fnCreateCookie`. NOTE: 1.9.2 is a version from 2012.",
    "aliases": [
        {
            "alias": "CVE-2021-36713"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56286?format=api",
            "purl": "pkg:composer/datatables/datatables@1.10.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6g3a-fs52-gfcp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/datatables/datatables@1.10.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56285?format=api",
            "purl": "pkg:composer/datatables/datatables@1.9.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-np26-hprc-gbcf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/datatables/datatables@1.9.2"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-36713",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.0019",
                    "scoring_system": "epss",
                    "scoring_elements": "0.4092",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.0019",
                    "scoring_system": "epss",
                    "scoring_elements": "0.40893",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.0019",
                    "scoring_system": "epss",
                    "scoring_elements": "0.4081",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00341",
                    "scoring_system": "epss",
                    "scoring_elements": "0.56694",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00341",
                    "scoring_system": "epss",
                    "scoring_elements": "0.56827",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00341",
                    "scoring_system": "epss",
                    "scoring_elements": "0.56824",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00341",
                    "scoring_system": "epss",
                    "scoring_elements": "0.56799",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00341",
                    "scoring_system": "epss",
                    "scoring_elements": "0.56738",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00341",
                    "scoring_system": "epss",
                    "scoring_elements": "0.56756",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00341",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5674",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00341",
                    "scoring_system": "epss",
                    "scoring_elements": "0.56776",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00341",
                    "scoring_system": "epss",
                    "scoring_elements": "0.56828",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00341",
                    "scoring_system": "epss",
                    "scoring_elements": "0.56833",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00341",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5684",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00341",
                    "scoring_system": "epss",
                    "scoring_elements": "0.56818",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00341",
                    "scoring_system": "epss",
                    "scoring_elements": "0.56796",
                    "published_at": "2026-04-13T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-36713"
        },
        {
            "reference_url": "https://cdn.datatables.net/1.9.2/js/jquery.dataTables.js",
            "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": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-07T15:58:05Z/"
                }
            ],
            "url": "https://cdn.datatables.net/1.9.2/js/jquery.dataTables.js"
        },
        {
            "reference_url": "https://gist.github.com/walhajri/711af9b62f6fb25e66a5d9a490deab98",
            "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": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-07T15:58:05Z/"
                }
            ],
            "url": "https://gist.github.com/walhajri/711af9b62f6fb25e66a5d9a490deab98"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-36713",
            "reference_id": "CVE-2021-36713",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-36713"
        },
        {
            "reference_url": "https://security.netapp.com/advisory/ntap-20230406-0003/",
            "reference_id": "ntap-20230406-0003",
            "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": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-07T15:58:05Z/"
                }
            ],
            "url": "https://security.netapp.com/advisory/ntap-20230406-0003/"
        }
    ],
    "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": "6.1 - 6.1",
    "exploitability": "0.5",
    "weighted_severity": "5.5",
    "risk_score": 2.8,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-np26-hprc-gbcf"
}