CVE-2024-23179 Cross-site scripting in n/a
Cross-site scripting vulnerability in MediaWiki GlobalBlocking extension allows attackers to execute arbitrary scripts via crafted language 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-23179?
CVE-2024-23179 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 GlobalBlocking extension in MediaWiki before 1.40.2. For a Special:GlobalBlock?uselang=x-xss URI, i18n-based XSS can occur via the parentheses message. This affects subtitle links in buildSubtitleLinks.
Weakness: CWE-79
Which versions are affected by CVE-2024-23179?
1 open source package ship an affected version, including mediawiki. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mediawiki Bitnami | All versions | 1.41.1 |
Products include Mediawiki Mediawiki.
How do I fix CVE-2024-23179?
Upgrade mediawiki to 1.41.1 or later.
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-23179 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-23179 exists.
Other vulnerabilities in Mediawiki Mediawiki
Sources
Also known as BIT-mediawiki-2024-23179, GHSA-37v9-q385-wr5j.