Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/576355?format=api",
    "purl": "pkg:composer/rainlab/blog-plugin@1.3.1",
    "type": "composer",
    "namespace": "rainlab",
    "name": "blog-plugin",
    "version": "1.3.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.4.1",
    "latest_non_vulnerable_version": "1.4.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43674?format=api",
            "vulnerability_id": "VCID-rbn6-gfnp-d3av",
            "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nOctober CMS through 1.0.431 allows XSS by entering HTML on the Add Posts page.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-7198",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01085",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78255",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.01085",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78263",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.01085",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78229",
                            "published_at": "2026-06-04T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-7198"
                },
                {
                    "reference_url": "http://securitywarrior9.blogspot.com/2018/02/html-injection-october-cms.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://securitywarrior9.blogspot.com/2018/02/html-injection-october-cms.html"
                },
                {
                    "reference_url": "https://github.com/rainlab/blog-plugin",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/rainlab/blog-plugin"
                },
                {
                    "reference_url": "https://github.com/rainlab/blog-plugin/commit/6ae19a6e16ef3ba730692bc899851342c858bb94",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/rainlab/blog-plugin/commit/6ae19a6e16ef3ba730692bc899851342c858bb94"
                },
                {
                    "reference_url": "https://www.exploit-db.com/exploits/44144",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.exploit-db.com/exploits/44144"
                },
                {
                    "reference_url": "https://www.exploit-db.com/exploits/44144/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.exploit-db.com/exploits/44144/"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/44144.txt",
                    "reference_id": "CVE-2018-7198",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/44144.txt"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-7198",
                    "reference_id": "CVE-2018-7198",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-7198"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-96mh-7xpr-qcgw",
                    "reference_id": "GHSA-96mh-7xpr-qcgw",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-96mh-7xpr-qcgw"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/62827?format=api",
                    "purl": "pkg:composer/rainlab/blog-plugin@1.4.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/rainlab/blog-plugin@1.4.1"
                }
            ],
            "aliases": [
                "CVE-2018-7198",
                "GHSA-96mh-7xpr-qcgw"
            ],
            "risk_score": 10.0,
            "exploitability": "2.0",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-rbn6-gfnp-d3av"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "10.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/rainlab/blog-plugin@1.3.1"
}