Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify public MediaWiki instance with Cargo Extension active
-
DeliveryLocate page rendering #cargo_query template accessible without login
-
ExploitInject SQL metacharacters into Cargo query parameter
-
ExecutionMediaWiki constructs and executes malicious SQL via Rdbms layer
-
ImpactExtract sensitive data or modify records in Cargo-managed tables
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The Cargo Extension must be installed and active on the target MediaWiki instance. Exploitation at the unauthenticated level (consistent with CVSS 4.0 PR:N) requires that Cargo query templates - such as pages using #cargo_query - are accessible to anonymous visitors, a configuration common on public wikis. Exploitation is limited by: (1) MediaWiki installations that restrict page viewing or template rendering to authenticated or editor-level users (via $wgGroupPermissions), which eliminates the anonymous attack surface while reducing but not eliminating risk; (2) MediaWiki's Wikimedia\Rdbms abstraction layer, which likely constrains injection to Cargo-provisioned tables rather than full database schema access, consistent with the all-Low impact ratings; (3) any reverse-proxy or WAF-layer SQL injection filtering deployed upstream of the MediaWiki application. All Cargo Extension versions prior to the fixed releases across all branches (pre-1.43.9, pre-1.44.6, pre-1.45.4) are affected regardless of wiki content or theme configuration. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) signals low-complexity, unauthenticated, remotely reachable exploitation - a serious attack surface for any SQL injection class vulnerability. All impact dimensions are rated Low across both vulnerable and subsequent systems (VC:L/VI:L/VA:L/SC:L/SI:L/SA:L), suggesting the flaw is constrained in blast radius, likely because MediaWiki's database abstraction layer limits injection to Cargo-scoped tables. EPSS data was not provided in the input and cannot be independently assessed here. The vulnerability is not listed in CISA KEV, and no POC has been identified, indicating no confirmed broad or targeted exploitation. Real-world priority is moderate-to-high for public-facing MediaWiki deployments where Cargo query templates are rendered for anonymous users; private or editor-restricted wikis face meaningfully reduced exposure. A committed upstream fix (Gerrit r/c/1298854) is available, lowering the window of exposure for administrators who patch promptly. |
| Exploit ScenarioDerived | An unauthenticated attacker locates a public MediaWiki page that renders a Cargo query template to display structured wiki data, then crafts a malicious URL or POST parameter injecting SQL metacharacters into a Cargo filter or field argument. The injected payload manipulates the underlying SQL statement executed against the MediaWiki database, enabling extraction of data from Cargo-managed tables or unauthorized record modification. No public proof-of-concept code has been identified at time of analysis, but the CVSS 4.0 low-complexity, no-prerequisite vector indicates the technique is accessible to moderately skilled attackers familiar with SQL injection patterns. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 01, 2026
SQL injection in the Wikimedia Foundation's Cargo Extension for MediaWiki exposes all installations running versions prior to 1.43.9, 1.44.6, or 1.45.4 to unauthenticated database manipulation via the Cargo query interface. The flaw stems from improper neutralization of user-controlled input incorporated into SQL statements without adequate parameterization, allowing attackers to read, modify, or partially disrupt data stored in Cargo-managed tables. No public exploit code or CISA KEV listing has been identified at time of analysis, though the CVSS 4.0 vector confirms low-complexity, network-accessible exploitation requiring no authentication or user interaction.
RemediationAI
Upgrade the Cargo Extension to the patched release for your MediaWiki branch: 1.43.9 for the 1.43.x series, 1.44.6 for the 1.44.x series, or 1.45.4 for the 1.45.x series. The fix is tracked in Gerrit change https://gerrit.wikimedia.org/r/c/1298854 and Phabricator task https://phabricator.wikimedia.org/T428274. If an immediate upgrade is not possible, restrict access to pages and templates invoking #cargo_query and related Cargo functions by tightening MediaWiki group permissions ($wgGroupPermissions) to require at minimum a registered user session before Cargo queries are parsed and executed - this trades wiki functionality for reduced attack surface but does not eliminate risk for authenticated-user exploitation paths. Additionally, consider deploying a WAF rule targeting SQL metacharacter injection in query string parameters as a supplementary control, noting that WAF bypass techniques exist and this is not a substitute for patching.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The Cargo Extension (CPE: cpe:2.3:a:the_wikimedia_foundation:mediawiki_-_cargo_extension:*:*:*:*:*:*:*:*) extends MediaWiki by enabling structured data storage in custom database tables and retrieval via template parser functions such as #cargo_query. CWE-89 (Improper Neutralization of Special Elements in SQL Commands) arises when user-supplied query parameters - such as field selectors, filter conditions, or table identifiers passed through Cargo template syntax - are interpolated into SQL statements without parameterization or sufficient escaping. MediaWiki typically uses the Wikimedia\Rdbms database abstraction layer, which may constrain the scope of injection to Cargo-provisioned tables rather than the full schema, consistent with the all-Low CVSS 4.0 impact ratings. On public wikis, Cargo query templates can be rendered for anonymous visitors, broadening the unauthenticated attack surface significantly.
Know when Mediawiki Cargo Extension 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:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L
Network-exploitable SQL injection requiring no authentication (PR:N); scope changes to the backend database system (S:C); all impacts remain Low, consistent with CVSS 4.0 signals suggesting constrained table-level access.
Primary rating from Vendor (wikimedia-foundation).
CVSS VectorVendor: wikimedia-foundation
Lifecycle Timeline
1DescriptionCVE.org
Improper neutralization of special elements used in an SQL command ('SQL injection') vulnerability in The Wikimedia Foundation Mediawiki - Cargo Extension allows SQL Injection.
This issue affects Mediawiki - Cargo Extension: from * before 1.43.9,1.44.6,1.45.4.
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
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Mediawiki Cargo Extension
View allStored cross-site scripting in the Wikimedia Foundation's MediaWiki Cargo Extension (all versions before 3.9.1) allows a
Reflected cross-site scripting in the MediaWiki Cargo extension (versions through 3.9.4) lets remote, unauthenticated at
Reflected cross-site scripting in the MediaWiki Cargo extension (versions through 3.9.4) allows an unauthenticated remot
Reflected cross-site scripting in the MediaWiki Cargo extension, affecting all versions through 3.9.4, allows an unauthe
Stored cross-site scripting (XSS) in the MediaWiki Cargo extension through version 3.9.4 allows attackers to inject pers
SQL injection in the Wikimedia Foundation's MediaWiki Cargo Extension exposes wiki deployments to unauthenticated databa
Stored cross-site scripting (XSS) in the Mediawiki Cargo Extension before version 3.8.7 allows authenticated users to in
Stored XSS vulnerability in Wikimedia Cargo Extension before 3.8.7 allows authenticated users with page editing permissi
Stored XSS in Wikimedia Cargo Extension before 3.8.7 allows authenticated users with page editing privileges to inject m
Reflected cross-site scripting in the MediaWiki Cargo extension before 1.46.1 lets remote attackers inject script into a
Cross-site scripting (XSS) vulnerability in Mediawiki Cargo Extension before version 3.8.7 allows authenticated users to
Stored cross-site scripting in the MediaWiki Cargo extension through version 3.9.4 lets an authenticated user with conte
EUVD-2026-41102
GHSA-9j5g-78q4-mjh2
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB