CVE-2024-23173: MediaWiki Cargo Extension Cross-site Scripting vulnerability
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.
Published Jan 12, 2024 · Updated Sep 29, 2025
Affected packages
mediawiki/cargo
- Ecosystem
- Composer (PHP)
- Affected
- < 1.35.14
- Fixed in
- 1.35.14
- Check
composer show mediawiki/cargo
mediawiki/cargo
- Ecosystem
- Composer (PHP)
- Affected
- >= 1.36.0, < 1.39.6
- Fixed in
- 1.39.6
- Check
composer show mediawiki/cargo
mediawiki/cargo
- Ecosystem
- Composer (PHP)
- Affected
- >= 1.40.0, < 1.40.2
- Fixed in
- 1.40.2
- Check
composer show mediawiki/cargo
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to kamalinux.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-23173
- https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Cargo/+/965214
- https://phabricator.wikimedia.org/T348687
- https://github.com/wikimedia/mediawiki-extensions-Cargo/commit/e4f0b7fb11da0e4b18f2c416101965e417ba3bd2
- https://github.com/advisories/GHSA-rhpm-63w5-79rg
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
