Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/11925?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/11925?format=api", "purl": "pkg:pypi/mayan-edms-ng@2.8", "type": "pypi", "namespace": "", "name": "mayan-edms-ng", "version": "2.8", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "3.0.2", "latest_non_vulnerable_version": "3.0.2", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35255?format=api", "vulnerability_id": "VCID-5hk9-rp44-1ud3", "summary": "An issue was discovered in Mayan EDMS before 3.0.2. The Appearance app sets window.location directly, leading to XSS.", "references": [ { "reference_url": "https://github.com/advisories/GHSA-fpcv-j2q9-vqhw", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-fpcv-j2q9-vqhw" }, { "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/mayan-edms-ng/PYSEC-2018-16.yaml", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/pypa/advisory-database/tree/main/vulns/mayan-edms-ng/PYSEC-2018-16.yaml" }, { "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/mayan-edms/PYSEC-2018-106.yaml", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/pypa/advisory-database/tree/main/vulns/mayan-edms/PYSEC-2018-106.yaml" }, { "reference_url": "https://gitlab.com/mayan-edms/mayan-edms", "reference_id": "", "reference_type": "", "scores": [], "url": "https://gitlab.com/mayan-edms/mayan-edms" }, { "reference_url": "https://gitlab.com/mayan-edms/mayan-edms/blob/master/HISTORY.rst", "reference_id": "", "reference_type": "", "scores": [], "url": "https://gitlab.com/mayan-edms/mayan-edms/blob/master/HISTORY.rst" }, { "reference_url": "https://gitlab.com/mayan-edms/mayan-edms/commit/9ebe80595afe4fdd1e2c74358d6a9421f4ce130e", "reference_id": "", "reference_type": "", "scores": [], "url": "https://gitlab.com/mayan-edms/mayan-edms/commit/9ebe80595afe4fdd1e2c74358d6a9421f4ce130e" }, { "reference_url": "https://gitlab.com/mayan-edms/mayan-edms/issues/494", "reference_id": "", "reference_type": "", "scores": [], "url": "https://gitlab.com/mayan-edms/mayan-edms/issues/494" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-16405", "reference_id": "CVE-2018-16405", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-16405" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/11928?format=api", "purl": "pkg:pypi/mayan-edms-ng@3.0.2", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mayan-edms-ng@3.0.2" } ], "aliases": [ "CVE-2018-16405", "GHSA-fpcv-j2q9-vqhw", "PYSEC-2018-106", "PYSEC-2018-16" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5hk9-rp44-1ud3" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mayan-edms-ng@2.8" }