{"id":"GHSA-8r2m-qhff-jm2c","aliases":["CVE-2017-7897"],"title":"MantisBT XSS via my_view_page.php and view_user_page.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.","severity":"medium","score":6.1,"published":"2022-05-17T02:31:57.000Z","modified":"2025-06-04T23:42:18.801Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"mantisbt/mantisbt","ranges":[{"events":[{"introduced":"2.3.0"},{"fixed":"2.3.2"}],"type":"ECOSYSTEM"}],"versions":["2.3.0","2.3.1"],"fixed":["2.3.2"]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2017-7897","https://github.com/mantisbt/mantisbt/pull/1094","https://github.com/mantisbt/mantisbt/commit/a1c719313d61b07bbe8700005807b8195fdc32f1","https://github.com/mantisbt/mantisbt","http://www.mantisbt.org/bugs/view.php?id=22742"],"sources":[{"name":"OSV","id":"GHSA-8r2m-qhff-jm2c","modified":"2025-06-04T23:42:18.801278Z","url":"https://osv.dev/vulnerability/GHSA-8r2m-qhff-jm2c"}],"assessments":[{"source":"OSV","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1}]}