Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/73789?format=api",
    "purl": "pkg:composer/facturascripts/facturascripts@2025.71.0",
    "type": "composer",
    "namespace": "facturascripts",
    "name": "facturascripts",
    "version": "2025.71.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2022.4.0",
    "latest_non_vulnerable_version": "2025.81.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/49937?format=api",
            "vulnerability_id": "VCID-ax8c-7sdd-uyhf",
            "summary": "FacturaScripts has Stored Cross-Site Scripting (XSS) in \"Observations\" field via History View\nA Stored Cross-Site Scripting (XSS) vulnerability was discovered in the Observations field. The flaw occurs in the History view, where historical data is rendered without proper HTML entity encoding. This allows an attacker to execute arbitrary JavaScript in the browser of  viewing the history by administrators.",
            "references": [
                {
                    "reference_url": "https://github.com/NeoRazorX/facturascripts",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/NeoRazorX/facturascripts"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-23997",
                    "reference_id": "CVE-2026-23997",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-23997"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-4v7v-7v7r-3r5h",
                    "reference_id": "GHSA-4v7v-7v7r-3r5h",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-4v7v-7v7r-3r5h"
                },
                {
                    "reference_url": "https://github.com/NeoRazorX/facturascripts/security/advisories/GHSA-4v7v-7v7r-3r5h",
                    "reference_id": "GHSA-4v7v-7v7r-3r5h",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/NeoRazorX/facturascripts/security/advisories/GHSA-4v7v-7v7r-3r5h"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2026-23997",
                "GHSA-4v7v-7v7r-3r5h"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ax8c-7sdd-uyhf"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/facturascripts/facturascripts@2025.71.0"
}