Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/290907?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/290907?format=api", "purl": "pkg:npm/%40theia/preview@0.4.0-next.eef9edef", "type": "npm", "namespace": "@theia", "name": "preview", "version": "0.4.0-next.eef9edef", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "1.8.1", "latest_non_vulnerable_version": "1.18.0", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54175?format=api", "vulnerability_id": "VCID-dzh9-83r1-97c4", "summary": "Inclusion of Functionality from Untrusted Control Sphere\nIn Eclipse Theia versions up to and including, in the notification messages there is no HTML escaping, so Javascript code can run.", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-28162", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00172", "scoring_system": "epss", "scoring_elements": "0.3828", "published_at": "2026-06-04T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-28162" }, { "reference_url": "https://github.com/eclipse-theia/theia/blob/master/CHANGELOG.md#v100---26032020", "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": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/eclipse-theia/theia/blob/master/CHANGELOG.md#v100---26032020" }, { "reference_url": "https://github.com/eclipse-theia/theia/issues/7283", "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": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/eclipse-theia/theia/issues/7283" }, { "reference_url": "https://github.com/eclipse-theia/theia/pull/7289", "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": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/eclipse-theia/theia/pull/7289" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-28162", "reference_id": "CVE-2021-28162", "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": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-28162" }, { "reference_url": "https://github.com/advisories/GHSA-c94v-8fff-73ph", "reference_id": "GHSA-c94v-8fff-73ph", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-c94v-8fff-73ph" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/291702?format=api", "purl": "pkg:npm/%40theia/preview@0.16.1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-s7ee-p5x1-1qfb" }, { "vulnerability": "VCID-shkb-61xx-nkan" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540theia/preview@0.16.1" }, { "url": "http://public2.vulnerablecode.io/api/packages/79967?format=api", "purl": "pkg:npm/%40theia/preview@0.17.0-next.715cda98", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-s7ee-p5x1-1qfb" }, { "vulnerability": "VCID-shkb-61xx-nkan" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540theia/preview@0.17.0-next.715cda98" } ], "aliases": [ "CVE-2021-28162", "GHSA-c94v-8fff-73ph" ], "risk_score": 3.1, "exploitability": "0.5", "weighted_severity": "6.2", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dzh9-83r1-97c4" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54178?format=api", "vulnerability_id": "VCID-s7ee-p5x1-1qfb", "summary": "Cross-site Scripting\nIn Eclipse Theia versions up to and including, in the debug console there is no HTML escaping, so arbitrary Javascript code can be injected.", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-28161", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00201", "scoring_system": "epss", "scoring_elements": "0.42087", "published_at": "2026-06-04T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-28161" }, { "reference_url": "https://github.com/eclipse-theia/theia/issues/8794", "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": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/eclipse-theia/theia/issues/8794" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-28161", "reference_id": "CVE-2021-28161", "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": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-28161" }, { "reference_url": "https://github.com/advisories/GHSA-cwg9-c9cr-p5fq", "reference_id": "GHSA-cwg9-c9cr-p5fq", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-cwg9-c9cr-p5fq" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/294692?format=api", "purl": "pkg:npm/%40theia/preview@1.8.1", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540theia/preview@1.8.1" }, { "url": "http://public2.vulnerablecode.io/api/packages/79974?format=api", "purl": "pkg:npm/%40theia/preview@1.9.0", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540theia/preview@1.9.0" } ], "aliases": [ "CVE-2021-28161", "GHSA-cwg9-c9cr-p5fq" ], "risk_score": 3.1, "exploitability": "0.5", "weighted_severity": "6.2", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-s7ee-p5x1-1qfb" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54116?format=api", "vulnerability_id": "VCID-shkb-61xx-nkan", "summary": "Cross-site Scripting\nThe Markdown Preview can be exploited to execute arbitrary code.", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-27224", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.009", "scoring_system": "epss", "scoring_elements": "0.76047", "published_at": "2026-06-04T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-27224" }, { "reference_url": "https://github.com/eclipse-theia/theia/issues/7954", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.6", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/eclipse-theia/theia/issues/7954" }, { "reference_url": "https://github.com/eclipse-theia/theia/pull/7971", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.6", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/eclipse-theia/theia/pull/7971" }, { "reference_url": "https://omespino.com/write-up-google-bug-bounty-xss-to-cloud-shell-instance-takeover-rce-as-root-5000-usd", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.6", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://omespino.com/write-up-google-bug-bounty-xss-to-cloud-shell-instance-takeover-rce-as-root-5000-usd" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-27224", "reference_id": "CVE-2020-27224", "reference_type": "", "scores": [ { "value": "9.6", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-27224" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/291870?format=api", "purl": "pkg:npm/%40theia/preview@1.3.0-next.60437227", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-s7ee-p5x1-1qfb" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540theia/preview@1.3.0-next.60437227" }, { "url": "http://public2.vulnerablecode.io/api/packages/140752?format=api", "purl": "pkg:npm/%40theia/preview@1.3.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-s7ee-p5x1-1qfb" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540theia/preview@1.3.0" } ], "aliases": [ "CVE-2020-27224", "GHSA-gcm9-cc3r-c6vj" ], "risk_score": 4.5, "exploitability": "0.5", "weighted_severity": "9.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-shkb-61xx-nkan" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540theia/preview@0.4.0-next.eef9edef" }