{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.11.1"
              },
              {
                "introduced": "0.12.0"
              },
              {
                "fixed": "0.12.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "682ac3f9f1381a3c2264d1eb0efbd3eba9e41608"
            },
            {
              "introduced": "4062d23e3660fd34b2adc30a9b883f73415b1607"
            },
            {
              "fixed": "15169a678f9f468ff6465035a32f28e8ec82003f"
            }
          ],
          "repo": "https://github.com/wikimedia/parsoid",
          "type": "GIT"
        }
      ]
    }
  ],
  "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": "CVE-2021-30458",
  "modified": "2026-03-13T21:47:22.755923565Z",
  "published": "2021-04-09T07:15:16.340Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://security.gentoo.org/glsa/202107-40"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.mediawiki.org/wiki/Parsoid"
    },
    {
      "type": "REPORT",
      "url": "https://phabricator.wikimedia.org/T279451"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}