Skip to main content

Semantic MediaWiki CVE-2026-126562

| EUVDEUVD-2026-123077 MEDIUM
Uncontrolled Recursion (CWE-674)
2026-11-11 VulnCheck GHSA-cm2r-7rp4-3767
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with page-edit rights
  2. Delivery
    Create mutually referencing Concept:A and Concept:B
  3. Exploit
    Anonymous query re-enters concept expansion unbounded
  4. Execution
    PHP exhausts memory or stack
  5. Impact
    Repeat requests for persistent denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
Exploitation Conditions

Exploitation requires the wiki to run the ElasticStore backend ($smwgDefaultStore = 'SMW\Elastic\ElasticStore'); default SQLStore and SPARQLStore installs are NOT affected because they already enforce a CircularReferenceGuard. The attacker must hold ordinary page-edit rights (the default 'edit' right) to create at least two mutually or transitively referencing pages in the Concept: namespace (A→B→A); the existing hasCircularConceptDescription() check only catches a concept that references itself directly. Once planted, the DoS is triggered by any subsequent query over those concepts - including unauthenticated requests via page view, Special:Ask, api.php?action=ask, or an {{#ask:}} on any page. Limiting factors: the ElasticStore-only configuration requirement, and the need for low-privilege authenticated edit access to stage the cyclic concepts (the triggering query itself needs no authentication).

Impact

This is a genuine but moderate-priority availability issue, not a high-CVSS-but-illusory one - the signals are internally consistent. The authoritative CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N, impact VA:L only, score 5.3) matches the vendor advisory exactly: remote, low-complexity, but requiring low-privilege authentication (page-edit rights in the Concept: namespace) and yielding availability-only impact. There is no KEV listing and no EPSS score in the supplied data, so there is no evidence of active or widespread exploitation; the vuln.today decision label is 'this_month' (routine patch urgency), not act_now or emergency. The GHSA advisory includes full reproduction steps, so a working attack is clearly feasible and documented, but no standalone weaponized exploit code is referenced. The main caveats are scope-limiting rather than severity-inflating: the flaw only affects wikis configured with the ElasticStore backend (SQLStore and SPARQLStore already carry a CircularReferenceGuard), and the 'Information Disclosure' tag in the input contradicts the advisory, which explicitly states this is 'Not a confidentiality or integrity issue.' Net: a real, low-cost, persistent application-layer DoS worth patching promptly on affected deployments, but not a drop-everything emergency.

Exploit ScenarioDerived

An ordinary registered editor on an ElasticStore-backed Semantic MediaWiki creates two concept pages that reference each other (Concept:A = {{#concept:[[Concept:B]]}} and Concept:B = {{#concept:[[Concept:A]]}}). Thereafter any visitor - including anonymous readers via a page view, Special:Ask, or api.php?action=ask - who queries those concepts triggers unbounded recursion in the Elastic ConceptDescriptionInterpreter, exhausting PHP memory or stack until the request aborts with a fatal error. The GHSA advisory provides concrete step-by-step reproduction; attack complexity is low (AC:L) and the request can be replayed at will for a persistent denial of service.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 11, 2026

Stored denial of service in Semantic MediaWiki's ElasticStore query backend: any user holding the default page-edit right can create two or more Concept: pages that reference each other (Concept:A -> Concept:B -> Concept:A), after which every query touching those concepts recurses without bound until PHP hits its memory or stack limit. All ElasticStore releases from 3.0.0 up to 7.4.0 are affected; wikis left on the default SQLStore or on SPARQLStore are not impacted because those engines already enforce a circular-reference guard. The staging step needs authenticated edit access, but the triggering request is unauthenticated (concept page view, Special:Ask, api.php?action=ask, or an {{#ask:}} embedded in any page), so one editor can repeatedly exhaust server resources on behalf of anonymous visitors; no dedicated public exploit code has been identified at time of analysis, although the vendor advisory documents a full reproduction procedure, and a vendor fix is released in 7.4.1.

RemediationAI

Vendor-released patch: upgrade Semantic MediaWiki to 7.4.1 (https://github.com/SemanticMediaWiki/SemanticMediaWiki/releases/tag/7.4.1). The fix, commit 35d8f8c9c7b48a476751ca0b795b78b648756828, adds a request-scoped $activeConcepts map keyed on the concept hash inside the Elastic ConceptDescriptionInterpreter: a concept is marked before the recursive interpretDescription() call, unmarked in a finally block, and a re-entry short-circuits to an 'smw-query-condition-circular' error instead of recursing, with a regression test covering the A -> B -> A case. Until the upgrade can be applied on an ElasticStore wiki, the only structural workaround is to move the wiki off the affected engine by setting $smwgDefaultStore to the SQLStore or SPARQLStore implementation, which already enforce a CircularReferenceGuard - at the cost of losing ElasticStore's search behaviour and performance characteristics, so this is a stopgap rather than an equivalent configuration. Because unauthenticated visitors trigger the recursion, restricting the page-edit right or the Concept: namespace to trusted editors only reduces who can stage the cyclic concepts and does not remove the denial of service once a cycle exists; if an editor is suspected of planting mutual concepts, audit the Concept: namespace for cross-referencing pages and delete or blank the offending pair. Note that neither mitigation substitutes for the 7.4.1 upgrade.

Affected VersionsENISA

SemanticMediaWiki 3.0.0 <7.4.1

Affected Packages

euvd semanticmediawiki fix: 7.4.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Semantic MediaWiki is a MediaWiki extension that adds structured semantic annotations and a query language; its stores translate parsed query descriptions into backend-specific query conditions. CWE-674 (Uncontrolled Recursion) lives in the Elastic (Elasticsearch) store's ConditionBuilder / ConceptDescriptionInterpreter pipeline: when the interpreter encounters a concept description it reads the concept's stored _CONC query, parses it, and passes it straight back into ConditionBuilder::interpretDescription() without keeping a per-request record of which concepts are currently being expanded. The class's existing hasCircularConceptDescription() check compares the parsed description only against the current concept, so it catches direct self-reference (A = [[Concept:A]]) but misses mutual or transitive cycles (A -> B -> A), and re-entry recurses until PHP aborts with 'Allowed memory size ... exhausted'. The SQLStore interpreter solves the same problem by keying a CircularReferenceGuard on the concept id across the whole expansion, which is why only the ElasticStore backend is affected. The flaw is in query-condition construction, so it manifests as resource exhaustion during request handling rather than as data disclosure or modification; the separately tracked acyclic concept fan-out / missing-memoization issue is GHSA-24v2-mf3g-84ch and is out of scope here.

Know when Mediawiki gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 4.3 MEDIUM

Staging the cyclic concepts needs low-privilege edit rights (PR:L) over the network with low complexity (AC:L); impact is a partial, recoverable availability loss only (A:L), with no confidentiality or integrity effect.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Semantic MediaWiki 3.0.0 before 7.4.1 contains an uncontrolled recursion vulnerability in the ElasticStore ConceptDescriptionInterpreter that only detects directly self-referencing concepts. Users with page-edit rights can create mutually referencing concept pages, causing concept page views, Special:Ask, or api.php action=ask queries to exhaust PHP memory or stack.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Low
niche MediaWiki extension, and only ElasticStore-configured installs are affected
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2014-1610 MEDIUM POC
6.0 Jan 30

MediaWiki 1.22.x before 1.22.2, 1.21.x before 1.21.5, and 1.19.x before 1.19.11, when DjVu or PDF file upload support is

CVE-2015-8009 CRITICAL POC
9.8 Jul 25

The MWOAuthDataStore::lookup_token function in Extension:OAuth for MediaWiki 1.25.x before 1.25.3, 1.24.x before 1.24.4,

CVE-2023-37303 CRITICAL POC
9.8 Jun 30

An issue was discovered in the CheckUser extension for MediaWiki through 1.39.3. Rated critical severity (CVSS 9.8), thi

CVE-2022-29906 CRITICAL POC
9.8 Apr 29

The admin API module in the QuizGame extension for MediaWiki through 1.37.2 (before 665e33a68f6fa1167df99c0aa18ed0157cdf

CVE-2022-29904 CRITICAL POC
9.8 Apr 29

The SemanticDrilldown extension for MediaWiki through 1.37.2 (before e688bdba6434591b5dff689a45e4d53459954773) allows SQ

CVE-2022-28206 CRITICAL POC
9.8 Mar 30

An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely

CVE-2022-28205 CRITICAL POC
9.8 Mar 30

An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely

CVE-2021-36128 CRITICAL POC
9.8 Jul 02

An issue was discovered in the CentralAuth extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this

CVE-2021-36126 CRITICAL POC
9.8 Jul 02

An issue was discovered in the AbuseFilter extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this

CVE-2017-8809 CRITICAL
9.8 Nov 15

api.php in MediaWiki before 1.27.4, 1.28.x before 1.28.3, and 1.29.x before 1.29.2 has a Reflected File Download vulnera

CVE-2024-47849 HIGH POC
8.8 Oct 05

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in The Wikimedia Foun

CVE-2021-36132 HIGH POC
8.8 Jul 02

An issue was discovered in the FileImporter extension in MediaWiki through 1.36. Rated high severity (CVSS 8.8), this vu

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy