{"id":"CVE-2026-126563","summary":"Semantic MediaWiki 2.4.0 before 7.4.1 Reflected XSS via Special:Ask Date Format","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.","aliases":["GHSA-h252-mj7p-58q7"],"modified":"2026-11-12T02:48:34.824801669Z","published":"2026-11-11T02:35:59.252Z","database_specific":{"cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126563.json","cna_assigner":"VulnCheck"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/semanticmediawiki/semanticmediawiki","events":[{"introduced":"61b7da69b38ed410df863d31824053fffd88f7d8"},{"fixed":"bcc3cbf4884f0474232a68d3eff060f93a506379"},{"fixed":"01cb81a6da7af743d2a5eb334db10e52b7318c56"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"2.4.0"},{"fixed":"7.4.1"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"01cb81a6da7af743d2a5eb334db10e52b7318c56"}]},{"source":"REFERENCES_TAG","original_tag":"7.4.1","range":[{"fixed":"bcc3cbf4884f0474232a68d3eff060f93a506379"}]}]}}],"versions":["7.4.0","7.3.1","7.3.0","7.2.1","7.2.0","7.1.0","7.0.0","6.0.1","6.0.0","5.1.0","5.0.2","5.0.1","5.0.0","4.2.0","4.1.3","4.1.2","4.1.1","4.1.0","4.0.2","4.0.1","4.0.0","3.2.0","3.2.0-rc.1","3.2.0-rc.2","3.1.0","3.1.0-rc.1","3.0.0","3.0.0-rc.2","3.0.0-rc.1","2.5.0","2.5.0-rc.1","2.4.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-126563.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","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"}]}