GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

GSD-2021-28162

Vulnerability from gsd - Updated: 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…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…