CVE-2021-45473 Cross-site scripting in n/a

Medium 6.1 Published Updated

Cross-site scripting vulnerability in MediaWiki allows attackers to execute arbitrary scripts via Wikibase item descriptions.

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-2021-45473?

CVE-2021-45473 is a medium-severity cross-site scripting vulnerability in Fedoraproject Fedora, published on 24 Dec 2021. 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

In MediaWiki through 1.37, Wikibase item descriptions allow XSS, which is triggered upon a visit to an action=info URL (aka a page-information sidebar).

Weakness: CWE-79

Which versions are affected by CVE-2021-45473?

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

PackageAffectedFixed in
mediawiki BitnamiAll versions1.3.8

Products include Fedoraproject Fedora, Mediawiki Mediawiki.

How do I fix CVE-2021-45473?

Upgrade mediawiki to 1.3.8 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-45473 being exploited?

There is no known exploitation of CVE-2021-45473 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as BIT-mediawiki-2021-45473, GHSA-78f2-h8g8-qj93, UBUNTU-CVE-2021-45473.

Is CVE-2021-45473 in your software?

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

Check your SBOMs for free