{"id":"CVE-2017-7897","state":"PUBLISHED","title":"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) ","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.","publishedAt":"2017-04-18T17:00:00.000Z","updatedAt":"2024-08-05T16:19:29.330Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.mantisbt.org/bugs/view.php?id=22742","http://www.securitytracker.com/id/1038278","https://github.com/mantisbt/mantisbt/commit/a1c719313d61b07bbe8700005807b8195fdc32f1","https://github.com/mantisbt/mantisbt/pull/1094"],"weaknesses":[],"ingestedAt":"2026-10-29T19:43:54.997Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2017/7xxx/CVE-2017-7897.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2017-7897","state":"PUBLISHED","datePublished":"2017-04-18T17:00:00.000Z","dateUpdated":"2024-08-05T16:19:29.330Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2017-04-18T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.mantisbt.org/bugs/view.php?id=22742","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securitytracker.com/id/1038278","name":"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"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2017-07-10T09:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2017-04-18T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2017-7897","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://www.mantisbt.org/bugs/view.php?id=22742","refsource":"CONFIRM","url":"http://www.mantisbt.org/bugs/view.php?id=22742"},{"name":"1038278","refsource":"SECTRACK","url":"http://www.securitytracker.com/id/1038278"},{"name":"https://github.com/mantisbt/mantisbt/commit/a1c719313d61b07bbe8700005807b8195fdc32f1","refsource":"CONFIRM","url":"https://github.com/mantisbt/mantisbt/commit/a1c719313d61b07bbe8700005807b8195fdc32f1"},{"name":"https://github.com/mantisbt/mantisbt/pull/1094","refsource":"CONFIRM","url":"https://github.com/mantisbt/mantisbt/pull/1094"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.mantisbt.org/bugs/view.php?id=22742","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securitytracker.com/id/1038278","name":"1038278","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"https://github.com/mantisbt/mantisbt/commit/a1c719313d61b07bbe8700005807b8195fdc32f1","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/mantisbt/mantisbt/pull/1094","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T16:19:29.330Z"}}]}}}