{"id":"CVE-2026-40598","aliases":["CVE-2026-40598","GHSA-6jh4-47v2-4g37"],"related":[],"kind":"vulnerability","state":"published","title":"MantisBT has Potential Referer-Based Reflected HTML Injection / XSS in Tag Update Page","summary":"Mantis Bug Tracker (MantisBT) is an open source issue tracker. In versions 2.28.1 and below, improper escaping of the redirection page (retrieved from the request's Referer header) allows an attacker to inject HTML. While this is generally not directly actionable as modern browsers will URL-encode special characters, on some specific server configurations this could poison the cache, leading to cross-site scripting. This issue has been fixed in version 2.28.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Mantis Bug Tracker (MantisBT) is an open source issue tracker. In versions 2.28.1 and below, improper escaping of the redirection page (retrieved from the request's Referer header) allows an attacker to inject HTML. While this is generally not directly actionable as modern browsers will URL-encode special characters, on some specific server configurations this could poison the cache, leading to cross-site scripting. This issue has been fixed in version 2.28.2.","source":"cvelist"},{"lang":"en","text":"Improper escaping of the redirection page (retrieved from the request's *Referer* header) allows an attacker to inject HTML.\n\nWhile this is generally not directly actionable as modern browsers will URL-encode special characters, on some specific server configurations this could poison the cache, leading to cross-site scripting.\n\n### Impact\nCross-site scripting (XSS).\n\n### Patches\n- b1ebc57763f104eb5f541b7b4d1ce6948168abd9\n\n### Workarounds\nNone\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.28.1 e inferiores, un escape incorrecto de la página de redirección (obtenida del encabezado Referer de la solicitud) permite a un atacante inyectar HTML. Aunque esto generalmente no es directamente accionable, ya que los navegadores modernos codificarán URL los caracteres especiales, en algunas configuraciones de servidor específicas esto podría envenenar la caché, lo que llevaría a cross-site scripting. Este problema ha sido solucionado en la versión 2.28.2.","source":"nvd"}],"published":"2026-05-11T19:35:01.000Z","modified":"2026-09-10T03:50:45.807Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 2.28.2","status":"affected"}],"vendor":"mantisbt","product":"mantisbt","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"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-6jh4-47v2-4g37","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/mantisbt/mantisbt/commit/b1ebc57763f104eb5f541b7b4d1ce6948168abd9","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://mantisbt.org/bugs/view.php?id=37017","tags":["exploit","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40598","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/mantisbt/mantisbt","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-05-23T02:39:01.073Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-40598","url":"https://www.cve.org/CVERecord?id=CVE-2026-40598","licence":"CVE Terms of Use","modified":"2026-05-23T02:41:23.021Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6jh4-47v2-4g37","url":"https://github.com/advisories/GHSA-6jh4-47v2-4g37","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:45.807Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-40598","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40598","licence":"Public domain","modified":"2026-07-23T16:10:00.137Z"}],"updatedAt":"2026-11-25T22:59:22.206Z","epss":{"score":0.00525,"percentile":0.37938,"date":"2026-11-30T12:00:22.000Z"}}