CVE-2026-126563

Semantic MediaWiki 2.4.0 before 7.4.1 Reflected XSS via Special:Ask Date Format

Published Nov 11, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Semantic MediaWiki versions 2.4.0 through 7.4.0 contain a reflected cross‑site scripting flaw in the TimeValueFormatter::getCaptionFromFreeFormat() method. The method outputs free‑format date captions directly into HTML without escaping, enabling an attacker to inject arbitrary HTML or JavaScript into a Special:Ask query’s date format field. The injected code is then reflected back to the victim’s browser, where it can execute. The effect is that a logged‑in user’s session may be hijacked, the site may be defaced, or the attacker may steal credentials and other sensitive information from the victim’s authenticated context. These potential consequences are inferred from the script execution capability described in the advisory and are not explicitly detailed in the CVE description.

Affected Systems

The affected product is Semantic MediaWiki. All releases from 2.4.0 up to and including 7.4.0 are vulnerable. Versions 7.4.1 and later contain the fix. Any installation that uses the default free‑format caption rendering for time values in Special:Ask queries is at risk.

Risk and Exploitability

The CVSS base score of 5.3 indicates medium severity, and the EPSS score of less than 1% suggests a low probability of exploitation in the wild. It is not listed in the CISA KEV catalog. Based on the description, the likely attack vector is a remote crafted Special:Ask URL that includes HTML markup in the date format string (#-F[…]). An attacker does not need to be authenticated, but the victim must be logged in for the malicious script to be executed, making the threat most acute on sites with many active users receiving untrusted links.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Semantic MediaWiki to version 7.4.1, which removes the unsanitized output.
  • Restrict the use of free‑format date captions in Special:Ask queries to trusted administrators only, or disable the feature entirely until the patch is applied.
  • If the update cannot be applied immediately, configure a content sanitization filter that escapes HTML in the caption field to prevent reflected script execution.

Generated by OpenCVE AI on November 13, 2026 at 20:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Semantic MediaWiki 2.4.0 before 7.4.1 Reflected XSS via Special:Ask Date Format
First Time appeared Semantic-mediawiki
Semantic-mediawiki semantic Mediawiki
Weaknesses CWE-79
CPEs cpe:2.3:a:semantic-mediawiki:semantic_mediawiki:*:*:*:*:*:mediawiki:*:*
Vendors & Products Semantic-mediawiki
Semantic-mediawiki semantic Mediawiki
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': '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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 13, 2026, 4:55 PM
Reserved
Nov 11, 2026, 1:08 AM
Status
Awaiting Analysis
Published
Nov 11, 2026, 3:16 AM
Modified
Nov 13, 2026, 5:17 PM