CVE-2021-42044 Cross-site scripting in n/a
Insufficient sanitization in MediaWiki GrowthExperiments extension allows attackers to inject and execute malicious HTML and JavaScript.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-42044?
CVE-2021-42044 is a medium-severity cross-site scripting vulnerability in Mediawiki Mediawiki, published on 6 Oct 2021. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
An issue was discovered in the Mentor dashboard in the GrowthExperiments extension in MediaWiki through 1.36.2. The Growthexperiments-mentor-dashboard-mentee-overview-add-filter-total-edits-headline, growthexperiments-mentor-dashboard-mentee-overview-add-filter-starred-headline, growthexperiments-mentor-dashboard-mentee-overview-info-text, growthexperiments-mentor-dashboard-mentee-overview-info-legend-headline, and growthexperiments-mentor-dashboard-mentee-overview-active-ago MediaWiki messages were not being properly sanitized and allowed for the injection and execution of HTML and JavaScript.
Weakness: CWE-79
Which versions are affected by CVE-2021-42044?
1 open source package ship an affected version, including mediawiki. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mediawiki Bitnami | All versions | 1.36.3 |
Products include Mediawiki Mediawiki.
How do I fix CVE-2021-42044?
Upgrade mediawiki to 1.36.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-2021-42044 being exploited?
There is no known exploitation of CVE-2021-42044 in the wild and no public exploit code.
Other vulnerabilities in Mediawiki Mediawiki
Sources
Also known as BIT-mediawiki-2021-42044, GHSA-jpr2-v3c7-pfrm.