ghsa-5pqx-77vf-85rw
Vulnerability from github
Published
2022-05-24 17:47
Modified
2024-06-07 22:12
Summary
Wikimedia Parsoid vulnerable to Cross-site Scripting (XSS)
Details

An issue was discovered in Wikimedia Parsoid before 0.11.1 and 0.12.x before 0.12.2. An attacker can send crafted wikitext that Utils/WTUtils.php will transform by using a tag, bypassing sanitization steps, and potentially allowing for XSS.

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "Packagist",
        "name": "wikimedia/parsoid"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0.12"
            },
            {
              "fixed": "0.12.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Packagist",
        "name": "wikimedia/parsoid"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.11.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2021-30458"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2024-06-07T22:12:19Z",
    "nvd_published_at": "2021-04-09T07:15:00Z",
    "severity": "MODERATE"
  },
  "details": "An issue was discovered in Wikimedia Parsoid before 0.11.1 and 0.12.x before 0.12.2. An attacker can send crafted wikitext that Utils/WTUtils.php will transform by using a \u003cmeta\u003e tag, bypassing sanitization steps, and potentially allowing for XSS.",
  "id": "GHSA-5pqx-77vf-85rw",
  "modified": "2024-06-07T22:12:19Z",
  "published": "2022-05-24T17:47:02Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-30458"
    },
    {
      "type": "WEB",
      "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/wikimedia/parsoid/CVE-2021-30458.yaml"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/wikimedia/mediawiki-services-parsoid"
    },
    {
      "type": "WEB",
      "url": "https://phabricator.wikimedia.org/T279451"
    },
    {
      "type": "WEB",
      "url": "https://security.gentoo.org/glsa/202107-40"
    },
    {
      "type": "WEB",
      "url": "https://www.mediawiki.org/wiki/Parsoid"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Wikimedia Parsoid vulnerable to Cross-site Scripting (XSS)"
}


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.