CVE-2024-47849 Backticks can allow the usage of not-allowed SQL functions
Attackers can inject SQL commands via backticks in the MediaWiki Cargo extension, potentially reading or modifying database content.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-47849?
CVE-2024-47849 is a high-severity SQL injection vulnerability in The Wikimedia Foundation Mediawiki - Cargo, published on 5 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in The Wikimedia Foundation Mediawiki - Cargo allows SQL Injection.This issue affects Mediawiki - Cargo: from 3.6.X before 3.6.1.
Weakness: CWE-89
Which versions are affected by CVE-2024-47849?
It affects 1 product.
Products include Mediawiki Cargo.
How do I fix CVE-2024-47849?
No fix has been published for CVE-2024-47849 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2024-47849 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-47849 exists.
Other vulnerabilities in The Wikimedia Foundation Mediawiki - Cargo
- CVE-2026-14363 Cargo Extension: SQLi in Special:Drilldown
- CVE-2026-58519 Stored XSS through Cargo's map format
- CVE-2026-58521 SQLi in Cargo extension via year range filter
- CVE-2024-47846 Special:DeleteCargoTable and Special:SwitchCargoTable have no CSRF protection
- CVE-2024-47847 Various XSSes found in Cargo
Sources
Also known as GHSA-q7xp-xjgh-vpm7.