Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/69794?format=api",
    "purl": "pkg:pypi/mammoth@1.11.0",
    "type": "pypi",
    "namespace": "",
    "name": "mammoth",
    "version": "1.11.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.11.0",
    "latest_non_vulnerable_version": "1.11.0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/20482?format=api",
            "vulnerability_id": "VCID-p137-ttxf-1fgc",
            "summary": "Mammoth is vulnerable to Directory Traversal\nVersions of the package mammoth from 0.3.25 and before 1.11.0; versions of the package mammoth from 0.3.25 and before 1.11.0; versions of the package mammoth before 1.11.0; versions of the package org.zwobble.mammoth:mammoth before 1.11.0 are vulnerable to Directory Traversal due to the lack of path or file type validation when processing a docx file containing an image with an external link (r:link attribute instead of embedded r:embed). The library resolves the URI to a file path and after reading, the content is encoded as base64 and included in the HTML output as a data URI. An attacker can read arbitrary files on the system where the conversion is performed or cause an excessive resources consumption by crafting a docx file that links to special device files such as /dev/random or /dev/zero.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2025-11849",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00254",
                            "scoring_system": "epss",
                            "scoring_elements": "0.4892",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2025-11849"
                },
                {
                    "reference_url": "https://gist.github.com/AudunWA/4d690d9ae5efdafe7cf71d9c2ee90a10",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://gist.github.com/AudunWA/4d690d9ae5efdafe7cf71d9c2ee90a10"
                },
                {
                    "reference_url": "https://github.com/mwilliamson/java-mammoth",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/mwilliamson/java-mammoth"
                },
                {
                    "reference_url": "https://github.com/mwilliamson/mammoth.js/commit/c54aaeb43a7941317c1f3c119ffa92090f988820",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/mwilliamson/mammoth.js/commit/c54aaeb43a7941317c1f3c119ffa92090f988820"
                },
                {
                    "reference_url": "https://security.snyk.io/vuln/SNYK-DOTNET-MAMMOTH-13561968",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.snyk.io/vuln/SNYK-DOTNET-MAMMOTH-13561968"
                },
                {
                    "reference_url": "https://security.snyk.io/vuln/SNYK-JAVA-ORGZWOBBLEMAMMOTH-13561969",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.snyk.io/vuln/SNYK-JAVA-ORGZWOBBLEMAMMOTH-13561969"
                },
                {
                    "reference_url": "https://security.snyk.io/vuln/SNYK-JS-MAMMOTH-13554470",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.snyk.io/vuln/SNYK-JS-MAMMOTH-13554470"
                },
                {
                    "reference_url": "https://security.snyk.io/vuln/SNYK-PYTHON-MAMMOTH-13561967",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.snyk.io/vuln/SNYK-PYTHON-MAMMOTH-13561967"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-11849",
                    "reference_id": "CVE-2025-11849",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-11849"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-rmjr-87wv-gf87",
                    "reference_id": "GHSA-rmjr-87wv-gf87",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-rmjr-87wv-gf87"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/69794?format=api",
                    "purl": "pkg:pypi/mammoth@1.11.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mammoth@1.11.0"
                }
            ],
            "aliases": [
                "CVE-2025-11849",
                "GHSA-rmjr-87wv-gf87"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-p137-ttxf-1fgc"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mammoth@1.11.0"
}