Skip to main content

MediaWiki Cargo CVE-2025-62655

LOW
SQL Injection (CWE-89)
2025-10-17 c4f26cc8-17ff-4c99-b5e2-38fc1793eacc
2.1
CVSS 4.0 · Vendor: c4f26cc8-17ff-4c99-b5e2-38fc1793eacc
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privileged wiki user
  2. Exploit
    Submit crafted Cargo query/field input
  3. Execution
    Inject unneutralized SQL metacharacters
  4. Impact
    Limited 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

Vendor (c4f26cc8-17ff-4c99-b5e2-38fc1793eacc) PRIMARY 2.1 LOW
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
vuln.today AI 4.6 MEDIUM

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).

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

Primary rating from Vendor (c4f26cc8-17ff-4c99-b5e2-38fc1793eacc).

CVSS VectorVendor: c4f26cc8-17ff-4c99-b5e2-38fc1793eacc

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

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

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Medium
popular MediaWiki data extension, but not on every wiki install
Data Quality
3 sources
Confidence: Low

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 LOW
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

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

References

Advisories & patches

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