{"id":"CVE-2026-33517","aliases":["CVE-2026-33517","GHSA-fh48-f69w-7vmp"],"related":[],"kind":"vulnerability","state":"published","title":"MantisBT Vulnerable to Stored HTML Injection in Tag Delete Confirmation","summary":"Mantis Bug Tracker (MantisBT) is an open source issue tracker. In version 2.28.0, when deleting a Tag (tag_delete.php), improper escaping of its name when displaying the confirmation message allows an attacker to inject HTML and, if CSP settings permit, achieve execution of arbitrary JavaScript. Version 2.28.1 fixes the issue. Workarounds include reverting commit d6890320752ecf37bd74d11fe14fe7dc12335be9 and/or manually editing language files to remove the sprintf placeholder `%1$s` from `$s_tag_delete_message` string.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Mantis Bug Tracker (MantisBT) is an open source issue tracker. In version 2.28.0, when deleting a Tag (tag_delete.php), improper escaping of its name when displaying the confirmation message allows an attacker to inject HTML and, if CSP settings permit, achieve execution of arbitrary JavaScript. Version 2.28.1 fixes the issue. Workarounds include reverting commit d6890320752ecf37bd74d11fe14fe7dc12335be9 and/or manually editing language files to remove the sprintf placeholder `%1$s` from `$s_tag_delete_message` string.","source":"cvelist"},{"lang":"en","text":"Improper escaping of Tag name when deleting it in tag_delete.php allows an attacker to inject HTML and, if CSP settings permit, achieve execution of arbitrary JavaScript.\n\n### Impact\nCross-site scripting (XSS).\n\n### Patches\n80990f43153167c73f11eb4b2bc7108d0c3d6b46\n\n### Workarounds\n* Revert commit d6890320752ecf37bd74d11fe14fe7dc12335be9\n* Manually edit language files to remove the sprintf placeholder `%1$s` from *$s_tag_delete_message*  string, for example with `sed -r -i '/tag_delete_message/s/.%1\\$s.//' -- lang/`\n\n### Credits\nMantisBT hanks Vishal Shukla for discovering and responsibly reporting the issue.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Mantis Bug Tracker (MantisBT) es un sistema de seguimiento de incidencias de código abierto. En la versión 2.28.0, al eliminar una Etiqueta (tag_delete.php), un escape incorrecto de su nombre al mostrar el mensaje de confirmación permite a un atacante inyectar HTML y, si la configuración de CSP lo permite, lograr la ejecución de JavaScript arbitrario. La versión 2.28.1 corrige el problema. Las soluciones provisionales incluyen revertir el commit d6890320752ecf37bd74d11fe14fe7dc12335be9 y/o editar manualmente los archivos de idioma para eliminar el marcador de posición sprintf %1$s de la cadena $s_tag_delete_message.","source":"nvd"}],"published":"2026-03-23T19:13:15.220Z","modified":"2026-06-17T10:37:38.470Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"= 2.28.0","status":"affected"}],"vendor":"mantisbt","product":"mantisbt","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.28.0","status":"affected","fixed":"2.28.1"}],"ecosystem":"Packagist","package":"mantisbt/mantisbt","purl":"pkg:composer/mantisbt/mantisbt","source":"ghsa"},{"ranges":[{"status":"affected","version":"2.28.0"}],"vendor":"mantisbt","product":"mantisbt","cpe":"cpe:2.3:a:mantisbt:mantisbt:2.28.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/mantisbt/mantisbt/security/advisories/GHSA-fh48-f69w-7vmp","tags":["mitigation","patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/mantisbt/mantisbt/commit/80990f43153167c73f11eb4b2bc7108d0c3d6b46","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/mantisbt/mantisbt/commit/d6890320752ecf37bd74d11fe14fe7dc12335be9","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33517","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/mantisbt/mantisbt","tags":["package"],"sources":["ghsa"]},{"url":"https://mantisbt.org/bugs/view.php?id=36971","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-03-24T14:12:05.535Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33517","url":"https://www.cve.org/CVERecord?id=CVE-2026-33517","licence":"CVE Terms of Use","modified":"2026-03-24T14:17:15.295Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fh48-f69w-7vmp","url":"https://github.com/advisories/GHSA-fh48-f69w-7vmp","licence":"CC-BY-4.0","modified":"2026-03-25T20:26:19.897Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33517","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33517","licence":"Public domain","modified":"2026-06-17T10:37:38.470Z"}],"updatedAt":"2026-11-25T22:59:16.489Z","epss":{"score":0.00284,"percentile":0.22461,"date":"2026-12-01T12:00:22.000Z"}}