Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/49644?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/49644?format=api", "purl": "pkg:pypi/lxml@4.9.4", "type": "pypi", "namespace": "", "name": "lxml", "version": "4.9.4", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "6.1.0", "latest_non_vulnerable_version": "6.1.0", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37301?format=api", "vulnerability_id": "VCID-1dyf-bxvq-u3bx", "summary": "lxml is a library for processing XML and HTML in the Python language. Prior to 6.1.0, using either of the two parsers in the default configuration (with resolve_entities=True) allows untrusted XML input to read local files. Setting the resolve_entities option explicitly to resolve_entities='internal' or resolve_entities=False disables the local file access. This vulnerability is fixed in 6.1.0.", "references": [ { "reference_url": "https://bugs.launchpad.net/lxml/+bug/2146291", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N" } ], "url": "https://bugs.launchpad.net/lxml/+bug/2146291" }, { "reference_url": "https://github.com/lxml/lxml/security/advisories/GHSA-vfmq-68hx-4jfw", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N" } ], "url": "https://github.com/lxml/lxml/security/advisories/GHSA-vfmq-68hx-4jfw" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/49662?format=api", "purl": "pkg:pypi/lxml@6.1.0", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/lxml@6.1.0" } ], "aliases": [ "CVE-2026-41066", "GHSA-vfmq-68hx-4jfw", "PYSEC-2026-87" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1dyf-bxvq-u3bx" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/lxml@4.9.4" }