{"id":"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.","aliases":["GHSA-8r2m-qhff-jm2c"],"modified":"2026-08-07T14:53:42.082965Z","published":"2017-04-18T17:59:00.163Z","references":[{"type":"WEB","url":"http://www.securitytracker.com/id/1038278"},{"type":"REPORT","url":"http://www.mantisbt.org/bugs/view.php?id=22742"},{"type":"FIX","url":"https://github.com/mantisbt/mantisbt/commit/a1c719313d61b07bbe8700005807b8195fdc32f1"},{"type":"FIX","url":"https://github.com/mantisbt/mantisbt/pull/1094"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mantisbt/mantisbt","events":[{"introduced":"0c6dde3dea2ea43d1d38f72f44834436c6dd4d74"},{"last_affected":"27b5b292c9814a40fdd5715fa499a82e29f6f866"},{"fixed":"a1c719313d61b07bbe8700005807b8195fdc32f1"}],"database_specific":{"cpe":["cpe:2.3:a:mantisbt:mantisbt:2.3.0:*:*:*:*:*:*:*","cpe:2.3:a:mantisbt:mantisbt:2.3.1:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"2.3.0"},{"last_affected":"2.3.0"},{"introduced":"2.3.1"},{"last_affected":"2.3.1"}],"source":["CPE_STRING","REFERENCES"]}}],"versions":["2.3.0","2.3.1","release-2.3.1","release-2.3.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-7897.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}