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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Network-reachable with no auth (PR:N); scope change justified as database is a separate component affected beyond the web application.
Primary rating from Vendor (wikimedia-foundation).
CVSS VectorVendor: wikimedia-foundation
Lifecycle Timeline
2DescriptionCVE.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.
AnalysisAI
SQL injection in the Wikimedia Foundation's MediaWiki Cargo Extension exposes wiki deployments to unauthenticated database read and write operations across all versions prior to 1.43.9, 1.44.6, and 1.45.4. The Cargo extension's core function - accepting user-supplied query parameters to construct database queries - makes this a structurally sensitive attack surface, as improper neutralization of SQL special elements allows crafted input to escape intended query boundaries. No public exploit code has been identified at time of analysis, and CISA KEV listing is absent, but the PR:N/AC:L/AT:N CVSS 4.0 vector confirms exploitation requires no authentication or special preconditions against default-accessible Cargo query endpoints.
Technical ContextAI
The Wikimedia Cargo extension (CPE: cpe:2.3:a:the_wikimedia_foundation:mediawiki_-_cargo_extension:*:*:*:*:*:*:*:*) adds structured data storage and retrieval to MediaWiki wikis, allowing editors to define typed data tables and query them via parser functions like {{#cargo_query:}}. These query parameters are passed through to the underlying relational database (typically MySQL/MariaDB). CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) indicates that user-controlled input reaches SQL query construction without adequate escaping or parameterization, enabling injection of arbitrary SQL clauses. The vulnerability is rooted in how Cargo translates wiki markup query parameters into SQL - a pattern historically prone to injection when sanitization is incomplete. The Gerrit patches at /r/c/mediawiki/extensions/Cargo/+/1279498 and /r/c/mediawiki/extensions/Cargo/+/1269701 represent the upstream fixes reviewed and merged.
RemediationAI
Upgrade the Cargo extension to version 1.43.9, 1.44.6, or 1.45.4 depending on the MediaWiki branch in use - these are the vendor-confirmed fixed releases. The upstream code fixes are documented in Gerrit code reviews at https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Cargo/+/1279498 and https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Cargo/+/1269701, and the issue is tracked at https://phabricator.wikimedia.org/T422774. As a compensating control prior to patching, restrict access to Cargo query functionality by raising the 'cargo-query' user right to require authentication or a trusted group via LocalSettings.php ($wgGroupPermissions), which limits the exposed attack surface to logged-in users rather than anonymous visitors. Note that restricting by IP allowlist at the web server layer is not sufficient alone if the wiki has public user registration enabled.
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
SQL injection in the Wikimedia Foundation's Cargo Extension for MediaWiki exposes all installations running versions pri
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
Cross-site scripting (XSS) vulnerability in Mediawiki Cargo Extension before version 3.8.7 allows authenticated users to
Same weakness CWE-89 – SQL Injection
View allVendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-41127
GHSA-cj99-hcr5-53g3