CVE-2023-37256 Cross-site scripting in n/a

Medium 6.1 Published Updated

Attackers can inject JavaScript via URL fields in the Cargo extension, leading to cross-site scripting attacks on MediaWiki sites.

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-2023-37256?

CVE-2023-37256 is a medium-severity cross-site scripting vulnerability in Mediawiki Mediawiki, published on 29 Jun 2023. 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

An issue was discovered in the Cargo extension for MediaWiki through 1.39.3. It allows one to store javascript: URLs in URL fields, and automatically links these URLs.

Weakness: CWE-79

Which versions are affected by CVE-2023-37256?

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

PackageAffectedFixed in
mediawiki BitnamiAll versions1.39.4

Products include Mediawiki Mediawiki.

How do I fix CVE-2023-37256?

Upgrade mediawiki to 1.39.4 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-2023-37256 being exploited?

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

All Mediawiki Mediawiki vulnerabilities

Sources

Also known as BIT-mediawiki-2023-37256, GHSA-655h-vxcr-6q9j.

Is CVE-2023-37256 in your software?

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

Check your SBOMs for free