Skip to content

CVE-2017-7897 MantisBT XSS via my_view_page.php and view_user_page.php

MediumCVSS 6.1 EPSS 1.8%
Published
Updated
Exploit status
No public exploit known
Technology
PHP

Description

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
mantisbt(Packagist) = 2.3.0; = 2.3.1; >= 2.3.0, < 2.3.2 2.3.2 Fixed
mantisbt = 2.3.0; = 2.3.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
mantisbt(Packagist) >= 2.3.0, < 2.3.2 2.3.2
mantisbt(Packagist) = 2.3.0 No fix listed
mantisbt(Packagist) = 2.3.1 No fix listed
mantisbt = 2.3.0 No fix listed
mantisbt = 2.3.1 No fix listed

References