Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/55133?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/55133?format=api", "purl": "pkg:maven/org.apache.struts/struts2-parent@1.3.10", "type": "maven", "namespace": "org.apache.struts", "name": "struts2-parent", "version": "1.3.10", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "2.3.20", "latest_non_vulnerable_version": "2.3.20", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6716?format=api", "vulnerability_id": "VCID-g2gb-x2nh-2bgz", "summary": "Cross-site Scripting\nMultiple cross-site scripting (XSS) vulnerabilities in Apache Struts allow remote attackers to inject arbitrary web script or HTML via (1) the name parameter to `struts-examples/upload/upload-submit.do`, or the message parameter to (2) `struts-cookbook/processSimple.do` or (3) `struts-cookbook/processDyna.do`.", "references": [ { "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-1007.json", "reference_id": "", "reference_type": "", "scores": [], "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-1007.json" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-1007", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.23022", "scoring_system": "epss", "scoring_elements": "0.95959", "published_at": "2026-05-12T12:55:00Z" }, { "value": "0.23022", "scoring_system": "epss", "scoring_elements": "0.95946", "published_at": "2026-05-07T12:55:00Z" }, { "value": "0.23022", "scoring_system": "epss", "scoring_elements": "0.9595", "published_at": "2026-05-09T12:55:00Z" }, { "value": "0.23022", "scoring_system": "epss", "scoring_elements": "0.95954", "published_at": "2026-05-11T12:55:00Z" }, { "value": "0.23022", "scoring_system": "epss", "scoring_elements": "0.95874", "published_at": "2026-04-01T12:55:00Z" }, { "value": "0.23022", "scoring_system": "epss", "scoring_elements": "0.95882", "published_at": "2026-04-02T12:55:00Z" }, { "value": "0.23022", "scoring_system": "epss", "scoring_elements": "0.95891", "published_at": "2026-04-04T12:55:00Z" }, { "value": "0.23022", "scoring_system": "epss", "scoring_elements": "0.95894", "published_at": "2026-04-07T12:55:00Z" }, { "value": "0.23022", "scoring_system": "epss", "scoring_elements": "0.95903", "published_at": "2026-04-08T12:55:00Z" }, { "value": "0.23022", "scoring_system": "epss", "scoring_elements": "0.95906", "published_at": "2026-04-09T12:55:00Z" }, { "value": "0.23022", "scoring_system": "epss", "scoring_elements": "0.9591", "published_at": "2026-04-11T12:55:00Z" }, { "value": "0.23022", "scoring_system": "epss", "scoring_elements": "0.95909", "published_at": "2026-04-12T12:55:00Z" }, { "value": "0.23022", "scoring_system": "epss", "scoring_elements": "0.95911", "published_at": "2026-04-13T12:55:00Z" }, { "value": "0.23022", "scoring_system": "epss", "scoring_elements": "0.95923", "published_at": "2026-04-16T12:55:00Z" }, { "value": "0.23022", "scoring_system": "epss", "scoring_elements": "0.95928", "published_at": "2026-04-18T12:55:00Z" }, { "value": "0.23022", "scoring_system": "epss", "scoring_elements": "0.9593", "published_at": "2026-04-26T12:55:00Z" }, { "value": "0.23022", "scoring_system": "epss", "scoring_elements": "0.95931", "published_at": "2026-04-29T12:55:00Z" }, { "value": "0.23022", "scoring_system": "epss", "scoring_elements": "0.95942", "published_at": "2026-05-05T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-1007" }, { "reference_url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/73052", "reference_id": "", "reference_type": "", "scores": [ { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/73052" }, { "reference_url": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-1007", "reference_id": "", "reference_type": "", "scores": [], "url": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-1007" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=788286", "reference_id": "788286", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=788286" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2012-1007", "reference_id": "CVE-2012-1007", "reference_type": "", "scores": [ { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-1007" }, { "reference_url": "https://github.com/advisories/GHSA-9848-v244-962p", "reference_id": "GHSA-9848-v244-962p", "reference_type": "", "scores": [ { "value": "MODERATE", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-9848-v244-962p" } ], "fixed_packages": [], "aliases": [ "CVE-2012-1007", "GHSA-9848-v244-962p" ], "risk_score": 10.0, "exploitability": "2.0", "weighted_severity": "6.2", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-g2gb-x2nh-2bgz" } ], "fixing_vulnerabilities": [], "risk_score": "10.0", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-parent@1.3.10" }