{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2017-7897","published":"2017-04-18T17:59:00.163000Z","last_modified":"2026-06-17T01:25:25.253000Z","status":"Modified","cvss":{"version":"3.0","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:mantisbt:mantisbt:2.3.0:*:*:*:*:*:*:*","part":"a","vendor":"mantisbt","product":"mantisbt","version":"2.3.0"},{"criteria":"cpe:2.3:a:mantisbt:mantisbt:2.3.1:*:*:*:*:*:*:*","part":"a","vendor":"mantisbt","product":"mantisbt","version":"2.3.1"}],"cpes_truncated":false,"vendors":["mantisbt"],"products":["mantisbt/mantisbt"],"epss":{"score":0.01754,"percentile":0.78407,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-8r2m-qhff-jm2c","ecosystem":"Packagist","name":"mantisbt/mantisbt","purl":"pkg:composer/mantisbt/mantisbt","ranges":[{"introduced":"2.3.0","fixed":"2.3.2"}],"versions":["2.3.0","2.3.1"],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2017-7897/","html_en":"/en/cve/CVE-2017-7897/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-7897","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-7897"},"untrusted":{"vendor_name":"Mantisbt","product_name":"Mantisbt","desc_en":"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":[],"references":[{"url":"http://www.mantisbt.org/bugs/view.php?id=22742","tags":["Exploit","Issue Tracking"]},{"url":"http://www.securitytracker.com/id/1038278","tags":[]},{"url":"https://github.com/mantisbt/mantisbt/commit/a1c719313d61b07bbe8700005807b8195fdc32f1","tags":["Patch"]},{"url":"https://github.com/mantisbt/mantisbt/pull/1094","tags":["Exploit","Patch","Vendor Advisory"]}]}}