{"id":"CVE-2017-7897","published":"2017-04-18T17:00:00Z","modified":"2024-08-05T16:19:29Z","title":"A cross-site scripting (XSS) vulnerability in the MantisBT (2.3.x before 2.3.2) Timeline include page, used in My View…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01754,"percentile":0.78474,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.mantisbt.org/bugs/view.php?id=22742","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securitytracker.com/id/1038278","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://github.com/mantisbt/mantisbt/commit/a1c719313d61b07bbe8700005807b8195fdc32f1","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mantisbt/mantisbt/pull/1094","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":15.69}]},"affected":[{"ecosystem":"Packagist","package":"mantisbt/mantisbt","vulnerableRanges":[">=2.3.0, <2.3.2"],"patched":["2.3.2"],"from":["GHSA-8r2m-qhff-jm2c"],"provenance":"source"}],"summary":{"text":"A cross-site scripting flaw in the Timeline include page of MantisBT 2.3.x (before 2.3.2) lets injected script run in the My View and User Information pages, because the page builds URLs from the unsanitized $_SERVER['PHP_SELF'] value. An remote attacker can exploit it by crafting a malicious PATH_INFO in a URL that a user then opens, and arbitrary code can execute only if the site's Content Security Policy settings permit it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:00Z"},"euvd":{"id":"EUVD-2017-16868","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2017-7241","published":"2017-03-31","fixed":"2.2.3","kev":false},{"cve":"CVE-2017-7309","published":"2017-03-31","fixed":"2.2.3","kev":false},{"cve":"CVE-2017-7615","published":"2017-04-16","fixed":"2.3.1","kev":false,"link":{"from":"CVE-2017-7615","to":"CVE-2017-7897","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:mantisbt/mantisbt","fromFixed":"2.3.1","toFixed":"2.3.2","daysApart":2}]}},{"cve":"CVE-2017-7897","published":"2017-04-18","fixed":"2.3.2","kev":false},{"cve":"CVE-2017-7620","published":"2017-05-21","fixed":"2.4.1","kev":false,"link":{"from":"CVE-2017-7897","to":"CVE-2017-7620","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:mantisbt/mantisbt","fromFixed":"2.3.2","toFixed":"2.3.3","daysApart":33}]}},{"cve":"CVE-2017-12061","published":"2017-08-01","fixed":"2.5.2","kev":false},{"cve":"CVE-2017-12062","published":"2017-08-01","fixed":"2.5.2","kev":false}],"package":"Packagist:mantisbt/mantisbt"}}