Summary
CVE-2026-116871 is an uncontrolled recursion vulnerability (CWE-674) in the Semantic MediaWiki extension for MediaWiki. An unauthenticated remote attacker can submit deeply nested queries to exhaust server resources, causing denial of service. The CVE record rates it 8.7 (High) under CVSS v4.0.
Technical details
- Root cause:
LegacyParser::getSubqueryDescription()processes nested query tokens before depth limits are applied. - Trigger conditions: A request to the
action=askAPI containing deeply nested query elements. No authentication or user interaction is required. - Attack vector: Network, low complexity.
- Impact: High availability impact: excessive CPU and memory consumption that can tie up request workers. No confidentiality or integrity impact is listed.
Affected software
- Semantic MediaWiki 3.0.0 up to, but not including, 7.3.1 (the CVE record lists 3.0.0 to 7.3.0 as vulnerable).
Severity
- CVSS v4.0 base score: 8.7 (High) –
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N - The CVE record also lists a CVSS v3.1 score of 7.5 (High) –
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Mitigation and recommended actions
- Immediate: upgrade Semantic MediaWiki to version 7.3.1 or later, which contains the fix.
- If you cannot patch immediately, no workaround is documented in the sources reviewed. Consider restricting access to the
action=askAPI endpoint at the network or web server layer, and monitor for resource exhaustion on MediaWiki hosts.

