CVE-2022-29907 Cross-site scripting in n/a
Cross-site scripting vulnerability in the Nimbus skin for MediaWiki allows attackers to inject malicious scripts via Advertise link messages.
- 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-2022-29907?
CVE-2022-29907 is a medium-severity cross-site scripting vulnerability in Mediawiki Mediawiki, published on 29 Apr 2022. 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
The Nimbus skin for MediaWiki through 1.37.2 (before 6f9c8fb868345701d9544a54d9752515aace39df) allows XSS in Advertise link messages.
Weakness: CWE-79
Which versions are affected by CVE-2022-29907?
1 open source package ship an affected version, including mediawiki. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mediawiki Bitnami | All versions | 1.37.3 |
Products include Mediawiki Mediawiki.
How do I fix CVE-2022-29907?
Upgrade mediawiki to 1.37.3 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-2022-29907 being exploited?
There is no known exploitation of CVE-2022-29907 in the wild and no public exploit code.
Other vulnerabilities in Mediawiki Mediawiki
Sources
Also known as BIT-mediawiki-2022-29907, GHSA-wghv-q62f-f457.