CVE-2024-23178 Cross-site scripting in n/a

Medium 5.4 Published Updated

Cross-site scripting in MediaWiki Phonos extension allows attackers to execute arbitrary scripts via i18n messages.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-23178?

CVE-2024-23178 is a medium-severity cross-site scripting vulnerability in Mediawiki Mediawiki, published on 12 Jan 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

An issue was discovered in the Phonos extension in MediaWiki before 1.40.2. PhonosButton.js allows i18n-based XSS via the phonos-purge-needed-error message.

Weakness: CWE-79

Which versions are affected by CVE-2024-23178?

1 open source package ship an affected version, including mediawiki. It affects 1 product.

PackageAffectedFixed in
mediawiki BitnamiAll versions1.41.1

Products include Mediawiki Mediawiki.

How do I fix CVE-2024-23178?

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-23178 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-23178 exists.

All Mediawiki Mediawiki vulnerabilities

Sources

Also known as BIT-mediawiki-2024-23178, GHSA-wwvh-g99g-xv29.

Is CVE-2024-23178 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free