{"id":"CVE-2026-40607","aliases":["CVE-2026-40607","GHSA-f633-865q-2mhh"],"related":[],"kind":"vulnerability","state":"published","title":"MantisBT is Vulnerable to Stored XSS Through its Saved-Filter Owner Column","summary":"Mantis Bug Tracker (MantisBT) is an open source issue tracker. In versions 2.11.0 through 2.28.1, a Stored XSS vulnerability is caused by incorrect escaping of a saved filter's owner, allowing an attacker to inject arbitrary HTML on systems where $g_show_user_realname = ON. Note that By default, only users with Manager access level or above can save their filters publicly. This issue has been fixed in version 2.28.2. If developers are unable to update immediately, they can work around this issue by preventing display of users' real names (set $g_ show_user_realname = OFF; in configuration), and restricting the ability to store filters (set $g_stored_query_create_threshold / $g_stored_query_create_shared_threshold to NOBODY).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Mantis Bug Tracker (MantisBT) is an open source issue tracker. In versions 2.11.0 through 2.28.1, a Stored XSS vulnerability is caused by incorrect escaping of a saved filter's owner, allowing an attacker to inject arbitrary HTML on systems where $g_show_user_realname = ON. Note that By default, only users with Manager access level or above can save their filters publicly. This issue has been fixed in version 2.28.2. If developers are unable to update immediately, they can work around this issue by preventing display of users' real names (set $g_ show_user_realname = OFF; in configuration), and restricting the ability to store filters (set $g_stored_query_create_threshold / $g_stored_query_create_shared_threshold to NOBODY).","source":"cvelist"},{"lang":"en","text":"Incorrect escaping of a saved filter's owner allows an attacker to inject arbitrary HTML on systems where $g_show_user_realname = ON.\n\n### Impact\nCross-site scripting (XSS).\n\nNote that By default, only users with *Manager* access level or above can save their filters publicly\n\n### Patches\n- 44f490bcf20fd491c1b8f3fc9dd041d8c2a30010\n\n### Workarounds\n- Prevent display of users' real name (set `$g_ show_user_realname = OFF;` in configuration)\n- Restrict ability to store filters (set $`g_stored_query_create_threshold` / $`g_stored_query_create_shared_threshold` to `NOBODY` \n\n### Credits\nThanks to siunam (Tang Cheuk Hei) for discovering and responsibly reporting the issue.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Mantis Bug Tracker (MantisBT) es un rastreador de problemas de código abierto. En las versiones 2.11.0 a 2.28.1, una vulnerabilidad de XSS Almacenado es causada por el escape incorrecto del propietario de un filtro guardado, permitiendo a un atacante inyectar HTML arbitrario en sistemas donde $g_show_user_realname = ON. Tenga en cuenta que, por defecto, solo los usuarios con nivel de acceso de Gerente o superior pueden guardar sus filtros públicamente. Este problema ha sido solucionado en la versión 2.28.2. Si los desarrolladores no pueden actualizar inmediatamente, pueden solucionar este problema evitando la visualización de los nombres reales de los usuarios (establezca $g_ show_user_realname = OFF; en la configuración), y restringiendo la capacidad de almacenar filtros (establezca $g_stored_query_create_threshold / $g_stored_query_create_shared_threshold en NOBODY).","source":"nvd"}],"published":"2026-05-11T19:35:05.000Z","modified":"2026-09-10T03:51:05.361Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N","rating":"HIGH"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":">= 2.1.0, < 2.28.2","status":"affected"}],"vendor":"mantisbt","product":"mantisbt","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.1.0","status":"affected","fixed":"2.28.2"}],"ecosystem":"Packagist","package":"mantisbt/mantisbt","purl":"pkg:composer/mantisbt/mantisbt","source":"ghsa"}],"references":[{"url":"https://github.com/mantisbt/mantisbt/security/advisories/GHSA-f633-865q-2mhh","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/mantisbt/mantisbt/commit/44f490bcf20fd491c1b8f3fc9dd041d8c2a30010","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://mantisbt.org/bugs/view.php?id=37015","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40607","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/mantisbt/mantisbt","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-05-26T18:51:03.130Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-40607","url":"https://www.cve.org/CVERecord?id=CVE-2026-40607","licence":"CVE Terms of Use","modified":"2026-05-26T18:51:17.022Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f633-865q-2mhh","url":"https://github.com/advisories/GHSA-f633-865q-2mhh","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:05.361Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-40607","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40607","licence":"Public domain","modified":"2026-07-23T11:10:00.120Z"}],"updatedAt":"2026-11-25T22:59:22.206Z","epss":{"score":0.00419,"percentile":0.38144,"date":"2026-12-01T12:00:22.000Z"}}