CVE-2024-23173 MediaWiki Cargo Extension Cross-site Scripting vulnerability
Cross-site scripting in MediaWiki Cargo extension allows attackers to execute arbitrary scripts via Special:Drilldown parameters.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-23173?
CVE-2024-23173 is a medium-severity cross-site scripting vulnerability in Mediawiki Mediawiki, published on 12 Jan 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
An issue was discovered in the Cargo extension in MediaWiki before 1.35.14, 1.36.x through 1.39.x before 1.39.6, and 1.40.x before 1.40.2. The Special:Drilldown page allows XSS via artist, album, and position parameters because of applied filter values in drilldown/CargoAppliedFilter.php.
Weakness: CWE-79
Which versions are affected by CVE-2024-23173?
7 open source packages ship an affected version, including mediawiki/cargo and mediawiki. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mediawiki/cargo Packagist | All versions | 1.35.14 |
mediawiki/cargo Packagist | All versions | 1.35.14 |
mediawiki/cargo Packagist | From 1.36.0 | 1.39.6 |
mediawiki/cargo Packagist | From 1.36.0 | 1.39.6 |
mediawiki/cargo Packagist | From 1.40.0 | 1.40.2 |
mediawiki/cargo Packagist | From 1.40.0 | 1.40.2 |
1 more packages
mediawiki Bitnami | All versions | 1.41.1 |
Products include Mediawiki Mediawiki.
How do I fix CVE-2024-23173?
Upgrade mediawiki/cargo to a fixed version for your release line: 1.35.14, 1.39.6 or 1.40.2.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-23173 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-23173 exists.
Other vulnerabilities in Mediawiki Mediawiki
Sources
Also known as BIT-mediawiki-2024-23173, GHSA-rhpm-63w5-79rg.