{"id":"CVE-2026-33548","aliases":["CVE-2026-33548","GHSA-73vx-49mv-v8w5"],"related":[],"kind":"vulnerability","state":"published","title":"MantisBT has Stored HTML Injection / XSS when displaying Tags in Timeline","summary":"Mantis Bug Tracker (MantisBT) is an open source issue tracker. In version 2.28.0, improper escaping of tag names retrieved from History in Timeline (my_view_page.php) allows an attacker to inject HTML and, if CSP settings permit, achieve execution of arbitrary JavaScript, when displaying a tag that has been renamed or deleted. Version 2.28.1 contains a patch. Workarounds include editing offending History entries (using SQL) and wrapping `$this->tag_name` in a string_html_specialchars() call in IssueTagTimelineEvent::html().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Mantis Bug Tracker (MantisBT) is an open source issue tracker. In version 2.28.0, improper escaping of tag names retrieved from History in Timeline (my_view_page.php) allows an attacker to inject HTML and, if CSP settings permit, achieve execution of arbitrary JavaScript, when displaying a tag that has been renamed or deleted. Version 2.28.1 contains a patch. Workarounds include editing offending History entries (using SQL) and wrapping `$this->tag_name` in a string_html_specialchars() call in IssueTagTimelineEvent::html().","source":"cvelist"},{"lang":"en","text":"Improper escaping of tag names retrieved from History in Timeline (my_view_page.php) allows an attacker to inject HTML and, if CSP settings permit, achieve execution of arbitrary JavaScript, when displaying a tag that has been renamed or deleted.\n\n### Impact\nCross-site scripting (XSS).\n\n### Patches\nf32787c14d4518476fe7f05f992dbfe6eaccd815\n\n### Workarounds\n* Edit offending History entries (using SQL)\n* Wrap `$this->tag_name` in a string_html_specialchars() call in IssueTagTimelineEvent::html()\n\n### Credits\nMantisBT thanks Vishal Shukla 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 la versión 2.28.0, un escape incorrecto de los nombres de etiquetas recuperados del Historial en la Línea de Tiempo (my_view_page.php) permite a un atacante inyectar HTML y, si la configuración de CSP lo permite, lograr la ejecución de JavaScript arbitrario, al mostrar una etiqueta que ha sido renombrada o eliminada. La versión 2.28.1 contiene un parche. Las soluciones incluyen editar las entradas ofensivas del Historial (usando SQL) y envolver `$this-&gt;tag_name` en una llamada a string_html_specialchars() en IssueTagTimelineEvent::html().","source":"nvd"}],"published":"2026-03-23T19:15:18.891Z","modified":"2026-06-17T10:37:41.330Z","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: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":"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.2"}],"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-73vx-49mv-v8w5","tags":["patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/mantisbt/mantisbt/commit/f32787c14d4518476fe7f05f992dbfe6eaccd815","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33548","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/mantisbt/mantisbt","tags":["package"],"sources":["ghsa"]},{"url":"https://mantisbt.org/bugs/view.php?id=36973","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-03-24T16:05:45.559Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33548","url":"https://www.cve.org/CVERecord?id=CVE-2026-33548","licence":"CVE Terms of Use","modified":"2026-03-24T16:06:54.776Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-73vx-49mv-v8w5","url":"https://github.com/advisories/GHSA-73vx-49mv-v8w5","licence":"CC-BY-4.0","modified":"2026-03-25T20:26:20.126Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33548","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33548","licence":"Public domain","modified":"2026-06-17T10:37:41.330Z"}],"updatedAt":"2026-11-25T22:59:16.489Z","epss":{"score":0.00229,"percentile":0.14587,"date":"2026-12-01T12:00:22.000Z"}}