CVE-2017-7222 Cross-site scripting in n/a

Medium 6.1 Published Updated

Administrators can inject arbitrary HTML or JavaScript via the window_title configuration setting, potentially leading to code execution if CSP permits.

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
None listed

What is CVE-2017-7222?

CVE-2017-7222 is a medium-severity cross-site scripting vulnerability in Mantisbt Mantisbt, published on 22 Mar 2017. 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

A cross-site scripting (XSS) vulnerability in MantisBT before 2.1.1 allows remote attackers to inject arbitrary HTML or JavaScript (if MantisBT's CSP settings permit it) by modifying 'window_title' in the application configuration. This requires privileged access to MantisBT configuration management pages (i.e., administrator access rights) or altering the system configuration file (config_inc.php).

Weakness: CWE-79

Which versions are affected by CVE-2017-7222?

It affects 1 product.

Products include Mantisbt Mantisbt.

How do I fix CVE-2017-7222?

No fix has been published for CVE-2017-7222 yet. Limit exposure of the affected software until one is available.

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-2017-7222 being exploited?

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

All Mantisbt Mantisbt vulnerabilities

Sources

Also known as GHSA-q4m4-prmh-jh37.

Is CVE-2017-7222 in your software?

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

Check your SBOMs for free