{"id":"CVE-2026-33548","aliases":["EUVD-2026-14525","GHSA-73vx-49mv-v8w5"],"status":"published","title":"MantisBT has Stored HTML Injection / XSS when displaying Tags in Timeline","description":"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-\u003etag_name` in a string_html_specialchars() call in IssueTagTimelineEvent::html().","severity":{"version":"4.0","score":8.6,"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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00204,"percentile":0.10388,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2026-03-23T19:15:18Z","modified":"2026-10-28T02:30:45Z","fixes":[{"ecosystem":"Packagist","package":"mantisbt/mantisbt","fixed_in":["2.28.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"mantisbt/mantisbt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.28.0"},{"last_affected":"2.28.0"},{"fixed":"2.28.2"}]}],"versions":["2.28.0"]},{"source":"osv","ecosystem":"Packagist","package":"mantisbt/mantisbt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.28.0"},{"fixed":"2.28.2"}]}],"versions":["2.28.0","2.28.1"]}],"products":[{"vendor":"mantisbt","product":"mantisbt"}],"references":[{"url":"https://github.com/mantisbt/mantisbt/security/advisories/GHSA-73vx-49mv-v8w5","tags":["x_refsource_CONFIRM","Patch","Vendor Advisory","advisory","web"]},{"url":"https://github.com/mantisbt/mantisbt/commit/f32787c14d4518476fe7f05f992dbfe6eaccd815","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33548","tags":["advisory"]},{"url":"https://mantisbt.org/bugs/view.php?id=36973","tags":["web"]},{"url":"https://github.com/advisories/GHSA-73vx-49mv-v8w5"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33548.json","tags":["advisory"]},{"url":"https://github.com/mantisbt/mantisbt","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-33548","title":"MantisBT has Stored HTML Injection / XSS when displaying Tags in Timeline","description":"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-\u003etag_name` in a string_html_specialchars() call in IssueTagTimelineEvent::html().","status":"published","published":"2026-03-23T19:15:18.891Z","modified":"2026-03-24T16:06:54.776Z","cvss":[{"version":"4.0","score":8.6,"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","level":"high","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:20:08.009733Z"}],"euvd":[{"id":"EUVD-2026-14525","description":"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-\u003etag_name` in a string_html_specialchars() call in IssueTagTimelineEvent::html().","status":"published","published":"2026-03-23T19:15:18Z","modified":"2026-03-24T16:06:54Z","cvss":[{"version":"4.0","score":8.6,"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","level":"high"}],"updated_at":"2026-11-02T19:25:29.933437Z"}],"ghsa":[{"id":"GHSA-73vx-49mv-v8w5","title":"MantisBT has Stored HTML Injection/XSS when displaying Tags in Timeline","description":"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-\u003etag_name` in a string_html_specialchars() call in IssueTagTimelineEvent::html()\n\n### Credits\nMantisBT thanks Vishal Shukla for discovering and responsibly reporting the issue.","status":"published","published":"2026-03-25T20:09:09Z","modified":"2026-03-25T20:09:10Z","cvss":[{"version":"4.0","score":8.6,"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","level":"high"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:39:42.712607Z"}],"nvd":[{"id":"CVE-2026-33548","description":"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-\u003etag_name` in a string_html_specialchars() call in IssueTagTimelineEvent::html().","status":"published","published":"2026-03-23T20:16:27.687Z","modified":"2026-06-17T10:37:41.33Z","cvss":[{"version":"4.0","score":8.6,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:12:10.568062Z"}],"osv":[{"id":"CVE-2026-33548","title":"MantisBT has Stored HTML Injection / XSS when displaying Tags in Timeline","description":"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-\u003etag_name` in a string_html_specialchars() call in IssueTagTimelineEvent::html().","status":"published","published":"2026-03-23T19:15:18.891Z","modified":"2026-10-28T02:30:45.583367279Z","cvss":[{"version":"4.0","score":8.6,"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","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:45:01.896044Z"},{"id":"GHSA-73vx-49mv-v8w5","title":"MantisBT has Stored HTML Injection/XSS when displaying Tags in Timeline","description":"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-\u003etag_name` in a string_html_specialchars() call in IssueTagTimelineEvent::html()\n\n### Credits\nMantisBT thanks Vishal Shukla for discovering and responsibly reporting the issue.","status":"published","published":"2026-03-25T20:09:09Z","modified":"2026-03-25T20:26:20.126114Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"},{"version":"4.0","score":8.6,"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","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:40.308826Z"}]}}
