ADVISORIES

GitHub Advisory Database

GHSA-8r2m-qhff-jm2c

MantisBT XSS via my_view_page.php and view_user_page.php

Moderate CVE-2017-7897

Details

A cross-site scripting (XSS) vulnerability in the MantisBT (2.3.x before 2.3.2) Timeline include page, used in My View (my_view_page.php) and User Information (view_user_page.php) pages, allows remote attackers to inject arbitrary code (if CSP settings permit it) through crafted PATH_INFO in a URL, due to use of unsanitized $_SERVER['PHP_SELF'] to generate URLs.

Affected packages

EcosystemPackageAffected versions
Packagistmantisbt/mantisbt
From 2.3.0 before 2.3.2 (fixed in 2.3.2)

References