Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/63318?format=api",
    "vulnerability_id": "VCID-asw1-t3mj-2kem",
    "summary": "URLs using javascript: have the protocol removed when pasted into the addressbar to protect users from cross-site scripting (XSS) attacks, but if a tab character is embedded in the javascript: URL the protocol is not removed and the script will execute. This could allow users to be socially engineered to run an XSS attack against themselves.",
    "aliases": [
        {
            "alias": "CVE-2018-5143"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/583377?format=api",
            "purl": "pkg:deb/debian/firefox@59.0-1?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/firefox@59.0-1%3Fdistro=sid"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582059?format=api",
            "purl": "pkg:deb/debian/firefox@149.0-1?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/firefox@149.0-1%3Fdistro=sid"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059611?format=api",
            "purl": "pkg:deb/debian/firefox@149.0.2-1?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/firefox@149.0.2-1%3Fdistro=sid"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1076056?format=api",
            "purl": "pkg:deb/debian/firefox@150.0-1?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/firefox@150.0-1%3Fdistro=sid"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1088670?format=api",
            "purl": "pkg:deb/debian/firefox@150.0.1-1?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/firefox@150.0.1-1%3Fdistro=sid"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-5143",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00468",
                    "scoring_system": "epss",
                    "scoring_elements": "0.64537",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00468",
                    "scoring_system": "epss",
                    "scoring_elements": "0.64382",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00468",
                    "scoring_system": "epss",
                    "scoring_elements": "0.64504",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00468",
                    "scoring_system": "epss",
                    "scoring_elements": "0.64525",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00468",
                    "scoring_system": "epss",
                    "scoring_elements": "0.64538",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00468",
                    "scoring_system": "epss",
                    "scoring_elements": "0.64436",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00468",
                    "scoring_system": "epss",
                    "scoring_elements": "0.64467",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00468",
                    "scoring_system": "epss",
                    "scoring_elements": "0.64427",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00468",
                    "scoring_system": "epss",
                    "scoring_elements": "0.64475",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00468",
                    "scoring_system": "epss",
                    "scoring_elements": "0.64491",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00468",
                    "scoring_system": "epss",
                    "scoring_elements": "0.64506",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00468",
                    "scoring_system": "epss",
                    "scoring_elements": "0.64495",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00468",
                    "scoring_system": "epss",
                    "scoring_elements": "0.64466",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00468",
                    "scoring_system": "epss",
                    "scoring_elements": "0.64501",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00468",
                    "scoring_system": "epss",
                    "scoring_elements": "0.64513",
                    "published_at": "2026-04-18T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-5143"
        },
        {
            "reference_url": "https://bugzilla.mozilla.org/show_bug.cgi?id=1422643",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.mozilla.org/show_bug.cgi?id=1422643"
        },
        {
            "reference_url": "https://www.mozilla.org/security/advisories/mfsa2018-06/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.mozilla.org/security/advisories/mfsa2018-06/"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/103386",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/103386"
        },
        {
            "reference_url": "http://www.securitytracker.com/id/1040514",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securitytracker.com/id/1040514"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:mozilla:firefox:*:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:mozilla:firefox:*:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:mozilla:firefox:*:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
            "reference_id": "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
            "reference_id": "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-5143",
            "reference_id": "CVE-2018-5143",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.3",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:M/Au:N/C:N/I:P/A:N"
                },
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-5143"
        },
        {
            "reference_url": "https://www.mozilla.org/en-US/security/advisories/mfsa2018-06",
            "reference_id": "mfsa2018-06",
            "reference_type": "",
            "scores": [
                {
                    "value": "critical",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.mozilla.org/en-US/security/advisories/mfsa2018-06"
        },
        {
            "reference_url": "https://usn.ubuntu.com/3596-1/",
            "reference_id": "USN-3596-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/3596-1/"
        }
    ],
    "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": "4.3 - 10.0",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-asw1-t3mj-2kem"
}