Skip to main content

MediaWiki Cargo Extension CVE-2026-14363

| EUVDEUVD-2026-41127 MEDIUM
SQL Injection (CWE-89)
2026-07-01 wikimedia-foundation GHSA-cj99-hcr5-53g3
6.9
CVSS 4.0 · Vendor: wikimedia-foundation
View

Attack ChainAIDerived

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

  1. Access
    Send crafted HTTP request to Cargo query endpoint
  2. Delivery
    Inject SQL metacharacters into query parameter (where/join)
  3. Exploit
    Bypass input neutralization in Cargo SQL builder
  4. Execution
    Execute attacker-controlled SQL against wiki database
  5. Impact
    Extract or manipulate structured Cargo table data

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 MediaWiki Cargo extension must be installed and active on the target wiki. Exploitation is possible against any endpoint that processes Cargo query parser functions (e.g., pages using {{#cargo_query:}}, {{#cargo_store:}}, or similar). The CVSS 4.0 vector (PR:N/AT:N) confirms no authentication or special attack preconditions are required against default configurations where Cargo queries are accessible to anonymous visitors - which is typical for public-facing wikis. Exploitation is limited when wikis configure the 'cargo-query' permission to require authenticated or privileged users; in such cases, the attacker must first obtain wiki credentials, raising the effective privilege bar. The vulnerability does not depend on a specific operating system, database backend configuration, or non-default MediaWiki setting beyond the presence of the Cargo extension itself.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) establishes this as remotely exploitable by unauthenticated attackers with no complexity barriers, which is the highest-risk exploitation profile for network services. However, the impact metrics are bounded at Low across all dimensions (VC:L/VI:L/VA:L/SC:L/SI:L/SA:L), yielding a score of 6.9 - reflecting that the database access achievable via Cargo's schema is constrained relative to a full database compromise. No EPSS data was provided, and this CVE is not listed in CISA KEV, indicating no confirmed active exploitation at time of analysis. The real-world risk is meaningful for any public-facing wiki running the Cargo extension: an unauthenticated attacker can probe the wiki database schema, exfiltrate structured content data, and potentially manipulate Cargo table records. The risk is reduced for wikis that restrict Cargo query execution to authenticated or privileged users via MediaWiki's permission system, but the CVSS vector assumes no such restriction is in place. Priority should be high for public wikis with sensitive structured data; lower for internal or read-only deployments.

Exploit ScenarioDerived

An unauthenticated attacker sends a crafted HTTP GET or POST request to a MediaWiki page that invokes a Cargo query parser function, injecting SQL metacharacters into a query parameter such as the 'where' or 'join on' clause. The injected SQL is passed unsanitized to the database engine, allowing the attacker to enumerate Cargo table schemas, extract structured wiki data, or manipulate records. No public exploit code has been identified at time of analysis, but the low complexity of CWE-89 exploitation combined with the PR:N/AC:L profile means a basic UNION-based or error-based SQLi payload is a plausible first attempt.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 01, 2026

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.

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.

Affected VersionsENISA

Mediawiki - Cargo Extension * <1.43.9,1.44.6,1.45.4

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

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

Vendor (wikimedia-foundation) PRIMARY 6.9 MEDIUM
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
vuln.today AI 8.3 HIGH

Network-reachable with no auth (PR:N); scope change justified as database is a separate component affected beyond the web application.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L
Red Hat 7.3 HIGH

Primary rating from Vendor (wikimedia-foundation).

CVSS VectorVendor: wikimedia-foundation

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

Lifecycle Timeline

1
Patch available
Jul 01, 2026 - 21:02 EUVD

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: from * before 1.43.9,1.44.6,1.45.4.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Medium
popular MediaWiki extension, not universally deployed
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
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-2026-58519 MEDIUM
6.9 Jul 01

Stored cross-site scripting in the Wikimedia Foundation's MediaWiki Cargo Extension (all versions before 3.9.1) allows a

CVE-2026-96878 MEDIUM
6.9 Sep 25

Reflected cross-site scripting in the MediaWiki Cargo extension (versions through 3.9.4) lets remote, unauthenticated at

CVE-2026-96877 MEDIUM
6.9 Sep 25

Reflected cross-site scripting in the MediaWiki Cargo extension (versions through 3.9.4) allows an unauthenticated remot

CVE-2026-96876 MEDIUM
6.9 Sep 25

Reflected cross-site scripting in the MediaWiki Cargo extension, affecting all versions through 3.9.4, allows an unauthe

CVE-2026-96875 MEDIUM
6.9 Sep 25

Stored cross-site scripting (XSS) in the MediaWiki Cargo extension through version 3.9.4 allows attackers to inject pers

CVE-2026-58521 MEDIUM
6.9 Jul 01

SQL injection in the Wikimedia Foundation's Cargo Extension for MediaWiki exposes all installations running versions pri

CVE-2026-39837 MEDIUM
6.3 Apr 07

Stored cross-site scripting (XSS) in the Mediawiki Cargo Extension before version 3.8.7 allows authenticated users to in

CVE-2026-39841 MEDIUM
6.3 Apr 07

Stored XSS vulnerability in Wikimedia Cargo Extension before 3.8.7 allows authenticated users with page editing permissi

CVE-2026-39839 MEDIUM
6.3 Apr 07

Stored XSS in Wikimedia Cargo Extension before 3.8.7 allows authenticated users with page editing privileges to inject m

CVE-2026-103049 MEDIUM
6.1 Sep 29

Reflected cross-site scripting in the MediaWiki Cargo extension before 1.46.1 lets remote attackers inject script into a

CVE-2026-39840 MEDIUM
5.1 Apr 07

Cross-site scripting (XSS) vulnerability in Mediawiki Cargo Extension before version 3.8.7 allows authenticated users to

CVE-2026-96874 LOW
2.3 Sep 25

Stored cross-site scripting in the MediaWiki Cargo extension through version 3.9.4 lets an authenticated user with conte

Vendor StatusVendor

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