MediaWiki Cargo
CVE-2025-62655
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged wiki user
-
ExploitSubmit crafted Cargo query/field input
-
ExecutionInject unneutralized SQL metacharacters
-
ImpactLimited database read or modification
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 | Exploitation requires an authenticated low-privileged account on the target MediaWiki instance (PR:L) that runs the Cargo extension at an affected version (1.39, 1.43, or 1.44), with the attacker able to supply input to a Cargo query/data feature where special SQL elements are improperly neutralized. Realistic risk is further limited by the CVSS 4.0 metrics: AC:H (the attack requires overcoming a non-trivial condition), AT:P (a specific deployment/precondition must be met), and UI:P (passive interaction by another user is required), and the impact is only Low across confidentiality, integrity, and availability. These factors make reliable exploitation against a default deployment unlikely without the specific Cargo feature being in use. |
| Impact | This is a low-priority issue despite being an SQL injection (CWE-89). The only scoring signal provided is a CVSS 4.0 vector yielding a base score of 2.1 (Low): AV:N but AC:H (high attack complexity), AT:P (a specific attack requirement/precondition must be present), PR:L (attacker needs a low-privileged authenticated account on the wiki), UI:P (passive user interaction required), and only Low impact to confidentiality, integrity, and availability (VC:L/VI:L/VA:L) with no scope change to downstream systems (SC:N/SI:N/SA:N). EPSS is 0.27% (18th percentile), consistent with a low likelihood of near-term exploitation. There is no CISA KEV listing and no public proof-of-concept referenced, so exploitation status is 'no public exploit identified at time of analysis.' The signals are mutually consistent - low CVSS, low EPSS, no KEV, no POC all point the same direction - so there is no conflict to reconcile. Note a data limitation: no CVSS 3.1 vector was supplied, only 4.0, and the single reference is a Wikimedia Phabricator task (T404016) rather than a detailed public advisory, so the precise nature of the SQLi (which Cargo query feature, what data is reachable) is not confirmed from the input. |
| Exploit ScenarioDerived | An authenticated low-privileged wiki user crafts a Cargo query or table/field input containing SQL metacharacters that is not properly neutralized, injecting into a backend SQL statement. Because the CVSS vector requires high complexity (AC:H), a specific precondition (AT:P), and passive user interaction (UI:P), successful exploitation is non-trivial and yields only limited (Low) disclosure or modification of database contents. No public exploit code is referenced at the time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 09, 2026
SQL injection in the MediaWiki Cargo extension (versions 1.39, 1.43, and 1.44) allows an authenticated low-privileged user to influence SQL statements generated by Cargo's data-query features, because special SQL elements are not properly neutralized (CWE-89). Exploitation is constrained: the supplied CVSS 4.0 vector scores this only 2.1 (AV:N/AC:H/AT:P/PR:L/UI:P, Low impact on confidentiality, integrity, and availability), and our independent assessment agrees (CVSS 3.1 AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L), meaning a specific Cargo feature must be in use and passive interaction by another user is required. No confirmed active exploitation (not in CISA KEV) and no public exploit code identified at time of analysis; EPSS is 0.27% (18th percentile), consistent with a low-priority, low-likelihood issue.
RemediationAI
No vendor-released patch was identified in the available data; the only authoritative pointer is the Wikimedia Phabricator task T404016 (https://phabricator.wikimedia.org/T404016), which should be monitored for the fix commit and the corresponding patched Cargo extension builds for the 1.39, 1.43, and 1.44 branches. Until a patched extension version is confirmed, apply compensating controls that match the assessed prerequisites (authenticated low-privileged user, specific Cargo feature, passive user interaction): restrict the Cargo extension's query capabilities to a trusted group via MediaWiki group permissions so ordinary editors cannot submit arbitrary Cargo query parameters (trade-off: reduces legitimate wiki data-query use for untrusted editors); consider temporarily disabling or limiting the Cargo extension on high-value wikis if the affected feature is not required (trade-off: loss of structured-data tables and #cargo_query output on affected pages); and reduce the privileges and account population that can reach Cargo input surfaces. Additionally, review database account permissions so the MediaWiki DB user has the minimum rights needed, and deploy request filtering or a WAF rule targeting SQL metacharacters in Cargo-related parameters as a detection and containment layer, understanding that such signatures are bypassable and may generate false positives on legitimate queries. Because impact is assessed as Low and EPSS is 0.27%, remediation can be scheduled as routine maintenance rather than emergency response.
Affected ProductsAI
The vulnerable component is the Cargo extension for MediaWiki maintained by The Wikimedia Foundation, affecting the extension as bundled for MediaWiki versions 1.39, 1.43, and 1.44. No CPE identifiers were provided in the source data, so exposure should be confirmed by checking the installed Cargo extension version and its matching MediaWiki branch rather than by CPE matching. Any wiki running the Cargo extension on one of those three MediaWiki release branches should be considered affected if a low-privileged authenticated account can reach a Cargo query or data-definition feature. The single reference in the intelligence feed is the Wikimedia Phabricator task https://phabricator.wikimedia.org/T404016, which is the tracking advisory for this issue.
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
Cargo is a MediaWiki extension from The Wikimedia Foundation that lets wiki editors declare structured data tables and then query them from wiki pages using parser functions such as #cargo_query and #cargo_declare. Those functions translate user-supplied parameters into SQL executed against the MediaWiki database (typically MySQL/MariaDB), so any failure to neutralize special characters in queried fields, table names, or join/where clauses creates a classic CWE-89 SQL injection condition. The root cause class, Improper Neutralization of Special Elements used in an SQL Command, means the extension builds SQL strings from attacker-influenced input without adequate parameterization or escaping, allowing crafted query parameters to alter statement structure. The CVSS 4.0 vector's AT:P and AC:H metrics indicate the vulnerable code path is only reachable when specific deployment preconditions and Cargo features are configured, and PR:L plus UI:P indicate a logged-in low-privileged account and some interaction by another user are prerequisites. No CPE strings were supplied, so affected products are identified from the vendor data as the Cargo extension on MediaWiki 1.39, 1.43, and 1.44 branches.
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:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/S:N/AU:Y/R:U/V:C/RE:M/U:Amber
Network-reachable but requires an authenticated low-privileged wiki account (PR:L), a hard-to-meet condition (AC:H) and user interaction (UI:R), with only limited database impact (C/I/A:L).
Primary rating from Vendor (c4f26cc8-17ff-4c99-b5e2-38fc1793eacc).
CVSS VectorVendor: c4f26cc8-17ff-4c99-b5e2-38fc1793eacc
DescriptionCVE.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: 1.39, 1.43, 1.44.
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.
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
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
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB