{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.2.0"
                  },
                  {
                    "fixed": "7.4.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "92999fc0de74324aaa35bfd3676cd4d145d2ac06"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "7.4.1",
                "range": [
                  {
                    "fixed": "bcc3cbf4884f0474232a68d3eff060f93a506379"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0a8af7546b81f6dcab3f336f14023c8e7aea3805"
            },
            {
              "fixed": "bcc3cbf4884f0474232a68d3eff060f93a506379"
            },
            {
              "fixed": "92999fc0de74324aaa35bfd3676cd4d145d2ac06"
            }
          ],
          "repo": "https://github.com/semanticmediawiki/semanticmediawiki",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-cw86-j46r-2x7x"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126559.json"
  },
  "details": "Semantic MediaWiki 4.2.0 before 7.4.1 contains a stored cross-site scripting vulnerability in OptionsBuilder::profiles() that allows users with the smw-schemaedit right to inject markup. Attackers can save FACETEDSEARCH_PROFILE_SCHEMA profile keys or labels that break out of option elements, executing scripts for every Special:FacetedSearch visitor including administrators.",
  "id": "CVE-2026-126559",
  "modified": "2026-11-12T02:30:24.419219481Z",
  "published": "2026-11-11T02:35:56.604Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126559.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/SemanticMediaWiki/SemanticMediaWiki/releases/tag/7.4.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/SemanticMediaWiki/SemanticMediaWiki/security/advisories/GHSA-cw86-j46r-2x7x"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126559"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/semantic-mediawiki-4.2.0-before-7.4.1-stored-xss-via-special-facetedsearch"
    },
    {
      "type": "FIX",
      "url": "https://github.com/SemanticMediaWiki/SemanticMediaWiki/commit/92999fc0de74324aaa35bfd3676cd4d145d2ac06"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/SemanticMediaWiki/SemanticMediaWiki"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/7.4.0/src/MediaWiki/Specials/FacetedSearch/OptionsBuilder.php#L27-L52"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Semantic MediaWiki 4.2.0 before 7.4.1 Stored XSS via Special:FacetedSearch"
}