{"id":"CVE-2017-12062","details":"An XSS issue was discovered in manage_user_page.php in MantisBT 2.x before 2.5.2. The 'filter' field is not sanitized before being rendered in the Manage User page, allowing remote attackers to execute arbitrary JavaScript code if CSP is disabled.","aliases":["GHSA-w93w-rx52-24qh"],"modified":"2026-10-20T10:48:48.484291719Z","published":"2017-08-01T15:29:00.593Z","database_specific":{},"references":[{"type":"ADVISORY","url":"http://openwall.com/lists/oss-security/2017/08/01/1"},{"type":"ADVISORY","url":"http://openwall.com/lists/oss-security/2017/08/01/2"},{"type":"ADVISORY","url":"http://www.securitytracker.com/id/1039030"},{"type":"REPORT","url":"https://mantisbt.org/bugs/view.php?id=23166"},{"type":"FIX","url":"https://github.com/mantisbt/mantisbt/commit/9b5b71dadbeeeec27efea59f562ac5bd6d2673b7"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mantisbt/mantisbt","events":[{"introduced":"9f117fd951fbde716077b1453e0ecba9dbdc588a"},{"last_affected":"063cce6182568cf2eba81e3ca59cdd67606e7bab"},{"fixed":"9b5b71dadbeeeec27efea59f562ac5bd6d2673b7"}],"database_specific":{"extracted_events":[{"source":"CPE_STRING","cpe":"cpe:2.3:a:mantisbt:mantisbt:2.1.0:*:*:*:*:*:*:*","range":[{"introduced":"2.1.0"},{"last_affected":"2.1.0"}]},{"cpe":"cpe:2.3:a:mantisbt:mantisbt:2.1.1:*:*:*:*:*:*:*","range":[{"introduced":"2.1.1"},{"last_affected":"2.1.1"}],"source":"CPE_STRING"},{"range":[{"introduced":"2.1.2"},{"last_affected":"2.1.2"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:mantisbt:mantisbt:2.1.2:*:*:*:*:*:*:*"},{"range":[{"introduced":"2.1.3"},{"last_affected":"2.1.3"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:mantisbt:mantisbt:2.1.3:*:*:*:*:*:*:*"},{"source":"CPE_STRING","cpe":"cpe:2.3:a:mantisbt:mantisbt:2.2.0:*:*:*:*:*:*:*","range":[{"introduced":"2.2.0"},{"last_affected":"2.2.0"}]},{"range":[{"introduced":"2.2.1"},{"last_affected":"2.2.1"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:mantisbt:mantisbt:2.2.1:*:*:*:*:*:*:*"},{"source":"CPE_STRING","cpe":"cpe:2.3:a:mantisbt:mantisbt:2.2.2:*:*:*:*:*:*:*","range":[{"introduced":"2.2.2"},{"last_affected":"2.2.2"}]},{"source":"CPE_STRING","cpe":"cpe:2.3:a:mantisbt:mantisbt:2.2.3:*:*:*:*:*:*:*","range":[{"introduced":"2.2.3"},{"last_affected":"2.2.3"}]},{"cpe":"cpe:2.3:a:mantisbt:mantisbt:2.2.4:*:*:*:*:*:*:*","range":[{"introduced":"2.2.4"},{"last_affected":"2.2.4"}],"source":"CPE_STRING"},{"source":"CPE_STRING","cpe":"cpe:2.3:a:mantisbt:mantisbt:2.3.0:*:*:*:*:*:*:*","range":[{"introduced":"2.3.0"},{"last_affected":"2.3.0"}]},{"source":"CPE_STRING","cpe":"cpe:2.3:a:mantisbt:mantisbt:2.3.1:*:*:*:*:*:*:*","range":[{"introduced":"2.3.1"},{"last_affected":"2.3.1"}]},{"source":"CPE_STRING","cpe":"cpe:2.3:a:mantisbt:mantisbt:2.3.2:*:*:*:*:*:*:*","range":[{"introduced":"2.3.2"},{"last_affected":"2.3.2"}]},{"cpe":"cpe:2.3:a:mantisbt:mantisbt:2.3.3:*:*:*:*:*:*:*","range":[{"introduced":"2.3.3"},{"last_affected":"2.3.3"}],"source":"CPE_STRING"},{"cpe":"cpe:2.3:a:mantisbt:mantisbt:2.4.0:*:*:*:*:*:*:*","range":[{"introduced":"2.4.0"},{"last_affected":"2.4.0"}],"source":"CPE_STRING"},{"range":[{"introduced":"2.4.1"},{"last_affected":"2.4.1"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:mantisbt:mantisbt:2.4.1:*:*:*:*:*:*:*"},{"source":"CPE_STRING","cpe":"cpe:2.3:a:mantisbt:mantisbt:2.4.2:*:*:*:*:*:*:*","range":[{"introduced":"2.4.2"},{"last_affected":"2.4.2"}]},{"source":"CPE_STRING","cpe":"cpe:2.3:a:mantisbt:mantisbt:2.5.0:*:*:*:*:*:*:*","range":[{"introduced":"2.5.0"},{"last_affected":"2.5.0"}]},{"range":[{"introduced":"2.5.1"},{"last_affected":"2.5.1"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:mantisbt:mantisbt:2.5.1:*:*:*:*:*:*:*"},{"range":[{"fixed":"9b5b71dadbeeeec27efea59f562ac5bd6d2673b7"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["2.1.0","2.1.1","2.1.2","2.1.3","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.3.0","2.3.1","2.3.2","2.3.3","2.4.0","2.4.1","2.4.2","2.5.0","2.5.1","release-2.5.1","release-2.5.0","release-2.4.0","release-2.3.0","release-2.2.0","release-2.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-12062.json"}}],"schema_version":"1.9.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"}]}