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

Medium 4.8 Published Updated

Privileged users can inject malicious scripts into gift fields, enabling cross-site scripting attacks against other users.

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-36130?

CVE-2021-36130 is a medium-severity cross-site scripting vulnerability in Mediawiki Mediawiki, published on 2 Jul 2021. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

An XSS issue was discovered in the SocialProfile extension in MediaWiki through 1.36. Within several gift-related special pages, a privileged user with the awardmanage right could inject arbitrary HTML and JavaScript within various gift-related data fields. The attack could easily propagate across many pages for many users.

Weakness: CWE-79

Which versions are affected by CVE-2021-36130?

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

PackageAffectedFixed in
mediawiki BitnamiAll versions1.36.1

Products include Mediawiki Mediawiki.

How do I fix CVE-2021-36130?

Upgrade mediawiki to 1.36.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-2021-36130 being exploited?

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

All Mediawiki Mediawiki vulnerabilities

Sources

Also known as BIT-mediawiki-2021-36130, GHSA-r34r-8rcg-frg4.

Is CVE-2021-36130 in your software?

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

Check your SBOMs for free