Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/49647?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/49647?format=api", "purl": "pkg:pypi/mistune@0.8.2", "type": "pypi", "namespace": "", "name": "mistune", "version": "0.8.2", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "3.2.1", "latest_non_vulnerable_version": "3.2.1", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/9677?format=api", "vulnerability_id": "VCID-q9br-dckr-gkd1", "summary": "Mistune is a Python Markdown parser with renderers and plugins. In 3.2.0 and realier, in src/mistune/directives/image.py, the render_figure() function concatenates figclass and figwidth options directly into HTML attributes without escaping. This allows attribute injection and XSS even when HTMLRenderer(escape=True) is used, because these values bypass the inline renderer.", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-44896", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.0003", "scoring_system": "epss", "scoring_elements": "0.09093", "published_at": "2026-05-30T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-44896" }, { "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" } ], "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml" }, { "reference_url": "https://github.com/lepture/mistune", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.3", "scoring_system": "cvssv4", "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/lepture/mistune" }, { "reference_url": "https://github.com/lepture/mistune/security/advisories/GHSA-58cw-g322-p94v", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }, { "value": "5.3", "scoring_system": "cvssv4", "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2026-05-27T13:06:28Z/" } ], "url": "https://github.com/lepture/mistune/security/advisories/GHSA-58cw-g322-p94v" }, { "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138260", "reference_id": "1138260", "reference_type": "", "scores": [], "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138260" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/49669?format=api", "purl": "pkg:pypi/mistune@3.2.1", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@3.2.1" } ], "aliases": [ "CVE-2026-44896", "GHSA-58cw-g322-p94v", "PYSEC-2026-168" ], "risk_score": 2.8, "exploitability": "0.5", "weighted_severity": "5.5", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-q9br-dckr-gkd1" } ], "fixing_vulnerabilities": [], "risk_score": "2.8", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.8.2" }