{
  "schema_version": "1.4.0",
  "id": "GHSA-gcm9-cc3r-c6vj",
  "modified": "2021-03-29T22:10:04Z",
  "published": "2021-04-13T15:18:09Z",
  "aliases": [
    "CVE-2020-27224"
  ],
  "summary": "Cross-site Scripting (XSS) in Eclipse Theia",
  "details": "In Eclipse Theia versions up to and including 1.2.0, the Markdown Preview (@theia/preview), can be exploited to execute arbitrary code.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "@theia/preview"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.3.0"
            }
          ]
        }
      ],
      "database_specific": {
        "last_known_affected_version_range": "< 1.2.0"
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-27224"
    },
    {
      "type": "WEB",
      "url": "https://github.com/eclipse-theia/theia/issues/7954"
    },
    {
      "type": "WEB",
      "url": "https://github.com/eclipse-theia/theia/pull/7971"
    },
    {
      "type": "WEB",
      "url": "https://omespino.com/write-up-google-bug-bounty-xss-to-cloud-shell-instance-takeover-rce-as-root-5000-usd"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2021-03-29T22:10:04Z",
    "nvd_published_at": "2021-02-24T17:15:00Z"
  }
}