Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with page-edit rights
-
DeliveryCreate mutually referencing Concept:A and Concept:B
-
ExploitAnonymous query re-enters concept expansion unbounded
-
ExecutionPHP exhausts memory or stack
-
ImpactRepeat 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Related Vulnerabilities in Semantic MediaWiki XSS and Authorization Flaws
View all 9MediaWiki 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
The MWOAuthDataStore::lookup_token function in Extension:OAuth for MediaWiki 1.25.x before 1.25.3, 1.24.x before 1.24.4,
An issue was discovered in the CheckUser extension for MediaWiki through 1.39.3. Rated critical severity (CVSS 9.8), thi
The admin API module in the QuizGame extension for MediaWiki through 1.37.2 (before 665e33a68f6fa1167df99c0aa18ed0157cdf
The SemanticDrilldown extension for MediaWiki through 1.37.2 (before e688bdba6434591b5dff689a45e4d53459954773) allows SQ
An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely
An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely
An issue was discovered in the CentralAuth extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this
An issue was discovered in the AbuseFilter extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this
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
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in The Wikimedia Foun
An issue was discovered in the FileImporter extension in MediaWiki through 1.36. Rated high severity (CVSS 8.8), this vu
EUVD-2026-123077
GHSA-cm2r-7rp4-3767
NVD
CVE.org
EPSS
VulDB
Exploit-DB