{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.4.0"
                  },
                  {
                    "fixed": "7.4.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "01cb81a6da7af743d2a5eb334db10e52b7318c56"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "7.4.1",
                "range": [
                  {
                    "fixed": "bcc3cbf4884f0474232a68d3eff060f93a506379"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "61b7da69b38ed410df863d31824053fffd88f7d8"
            },
            {
              "fixed": "bcc3cbf4884f0474232a68d3eff060f93a506379"
            },
            {
              "fixed": "01cb81a6da7af743d2a5eb334db10e52b7318c56"
            }
          ],
          "repo": "https://github.com/semanticmediawiki/semanticmediawiki",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-h252-mj7p-58q7"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126563.json"
  },
  "details": "Semantic MediaWiki 2.4.0 before 7.4.1 contains a reflected cross-site scripting vulnerability in TimeValueFormatter::getCaptionFromFreeFormat(), which emits free-format date captions in HTML without escaping. Unauthenticated attackers can craft a Special:Ask URL with HTML markup in a date printout format (#-F[...]) to execute script in a logged-in victim's browser session.",
  "id": "CVE-2026-126563",
  "modified": "2026-11-12T02:30:33.011506084Z",
  "published": "2026-11-11T02:35:59.252Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126563.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-h252-mj7p-58q7"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126563"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/semantic-mediawiki-2.4.0-before-7.4.1-reflected-xss-via-special-ask-date-format"
    },
    {
      "type": "FIX",
      "url": "https://github.com/SemanticMediaWiki/SemanticMediaWiki/commit/01cb81a6da7af743d2a5eb334db10e52b7318c56"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/SemanticMediaWiki/SemanticMediaWiki"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/7.4.0/src/DataValues/ValueFormatters/TimeValueFormatter.php#L312-L340"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Semantic MediaWiki 2.4.0 before 7.4.1 Reflected XSS via Special:Ask Date Format"
}