CVE-2022-26144 MantisBT vulnerable to XSS due to improper escape in manage_plugin_page.php and manage_plugin_uninstall.php

Medium 6.1 Published Updated

Attackers can execute arbitrary code via XSS in MantisBT plugin management pages if CSP allows it, requiring a crafted plugin installation.

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

CVE-2022-26144 is a medium-severity cross-site scripting vulnerability in Mantisbt Mantisbt, published on 13 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

An XSS issue was discovered in MantisBT before 2.25.3. Improper escaping of a Plugin name allows execution of arbitrary code (if CSP allows it) in manage_plugin_page.php and manage_plugin_uninstall.php when a crafted plugin is installed.

Weakness: CWE-79

Which versions are affected by CVE-2022-26144?

2 open source packages ship an affected version, including mantisbt/mantisbt. It affects 1 product.

PackageAffectedFixed in
mantisbt/mantisbt PackagistAll versions2.25.3
mantisbt/mantisbt PackagistAll versions2.25.3

Products include Mantisbt Mantisbt.

How do I fix CVE-2022-26144?

Upgrade mantisbt/mantisbt to 2.25.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-26144 being exploited?

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

All Mantisbt Mantisbt vulnerabilities

Sources

Also known as GHSA-rqgj-rqfr-5j6f.

Is CVE-2022-26144 in your software?

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

Check your SBOMs for free