gsd-2021-28162
Vulnerability from gsd
Modified
2023-12-13 01:23
Details
In Eclipse Theia versions up to and including 0.16.0, in the notification messages there is no HTML escaping, so Javascript code can run.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2021-28162",
    "description": "In Eclipse Theia versions up to and including 0.16.0, in the notification messages there is no HTML escaping, so Javascript code can run.",
    "id": "GSD-2021-28162"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2021-28162"
      ],
      "details": "In Eclipse Theia versions up to and including 0.16.0, in the notification messages there is no HTML escaping, so Javascript code can run.",
      "id": "GSD-2021-28162",
      "modified": "2023-12-13T01:23:29.311627Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security@eclipse.org",
        "ID": "CVE-2021-28162",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "Eclipse Theia",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "\u003c=",
                          "version_value": "0.16.0"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "The Eclipse Foundation"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "In Eclipse Theia versions up to and including 0.16.0, in the notification messages there is no HTML escaping, so Javascript code can run."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "CWE-830: Inclusion of Web Functionality from an Untrusted Source"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/eclipse-theia/theia/issues/7283",
            "refsource": "CONFIRM",
            "url": "https://github.com/eclipse-theia/theia/issues/7283"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c1.0.0",
          "affected_versions": "All versions before 1.0.0",
          "cvss_v2": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-829",
            "CWE-937"
          ],
          "date": "2021-05-10",
          "description": "In Eclipse Theia versions up to and including, in the notification messages there is no HTML escaping, so Javascript code can run.",
          "fixed_versions": [
            "1.0.0"
          ],
          "identifier": "CVE-2021-28162",
          "identifiers": [
            "GHSA-c94v-8fff-73ph",
            "CVE-2021-28162"
          ],
          "not_impacted": "All versions starting from 1.0.0",
          "package_slug": "npm/@theia/messages",
          "pubdate": "2021-05-10",
          "solution": "Upgrade to version 1.0.0 or above.",
          "title": "Inclusion of Functionality from Untrusted Control Sphere",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2021-28162",
            "https://github.com/eclipse-theia/theia/issues/7283",
            "https://github.com/eclipse-theia/theia/pull/7289",
            "https://github.com/eclipse-theia/theia/blob/master/CHANGELOG.md#v100---26032020",
            "https://github.com/advisories/GHSA-c94v-8fff-73ph"
          ],
          "uuid": "97032f89-6300-4151-a88e-0cc48fcf45de"
        },
        {
          "affected_range": "\u003c=0.16.0",
          "affected_versions": "All versions up to 0.16.0",
          "cvss_v2": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-829",
            "CWE-937"
          ],
          "date": "2021-03-18",
          "description": "In Eclipse Theia versions up to and including, in the notification messages there is no HTML escaping, so Javascript code can run.",
          "fixed_versions": [
            "1.0.0"
          ],
          "identifier": "CVE-2021-28162",
          "identifiers": [
            "CVE-2021-28162"
          ],
          "not_impacted": "All versions starting from 1.0.0",
          "package_slug": "npm/@theia/mini-browser",
          "pubdate": "2021-03-12",
          "solution": "Upgrade to version 1.0.0 or above.",
          "title": "Inclusion of Functionality from Untrusted Control Sphere",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2021-28162",
            "https://github.com/eclipse-theia/theia/issues/7283"
          ],
          "uuid": "d77857f1-3ba0-405b-b415-ab48240dee0b"
        },
        {
          "affected_range": "\u003c=0.16.0",
          "affected_versions": "All versions up to 0.16.0",
          "cvss_v2": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-829",
            "CWE-937"
          ],
          "date": "2021-03-18",
          "description": "In Eclipse Theia versions up to and including, in the notification messages there is no HTML escaping, so Javascript code can run.",
          "fixed_versions": [
            "0.17.0-next.715cda98"
          ],
          "identifier": "CVE-2021-28162",
          "identifiers": [
            "CVE-2021-28162"
          ],
          "not_impacted": "All versions after 0.16.0",
          "package_slug": "npm/@theia/preview",
          "pubdate": "2021-03-12",
          "solution": "Upgrade to version 0.17.0-next.715cda98 or above.",
          "title": "Inclusion of Functionality from Untrusted Control Sphere",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2021-28162",
            "https://github.com/eclipse-theia/theia/issues/7283"
          ],
          "uuid": "865efa1f-85d4-4b09-ade9-e6cd600b7d02"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:eclipse:theia:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "0.16.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security@eclipse.org",
          "ID": "CVE-2021-28162"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "In Eclipse Theia versions up to and including 0.16.0, in the notification messages there is no HTML escaping, so Javascript code can run."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-829"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/eclipse-theia/theia/issues/7283",
              "refsource": "CONFIRM",
              "tags": [
                "Exploit",
                "Issue Tracking",
                "Third Party Advisory"
              ],
              "url": "https://github.com/eclipse-theia/theia/issues/7283"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 4.3,
            "confidentialityImpact": "NONE",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
            "version": "2.0"
          },
          "exploitabilityScore": 8.6,
          "impactScore": 2.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": true
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.1,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
            "version": "3.1"
          },
          "exploitabilityScore": 2.8,
          "impactScore": 2.7
        }
      },
      "lastModifiedDate": "2021-03-18T19:11Z",
      "publishedDate": "2021-03-12T22:15Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…