{"id":"CVE-2026-40598","published":"2026-05-22T19:32:35Z","modified":"2026-05-23T02:41:23Z","title":"MantisBT has Potential Referer-Based Reflected HTML Injection / XSS in Tag Update Page","vendor":"mantisbt","product":"mantisbt","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00447,"percentile":0.39784,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/mantisbt/mantisbt/security/advisories/GHSA-6jh4-47v2-4g37","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mantisbt/mantisbt/commit/b1ebc57763f104eb5f541b7b4d1ce6948168abd9","tags":["x_refsource_MISC"]},{"url":"https://mantisbt.org/bugs/view.php?id=37017","tags":["x_refsource_MISC"]}],"priority":{"score":12.8,"factors":[{"name":"EPSS percentile","points":7.96},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"mantisbt","affectedVersions":[{"vendor":"mantisbt","product":"mantisbt","versions":["< 2.28.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-23T02:39:01.073614Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"mantisbt/mantisbt","vulnerableRanges":["<2.28.2"],"patched":["2.28.2"],"from":["GHSA-6jh4-47v2-4g37"],"provenance":"source"}],"summary":{"text":"MantisBT (product mantisbt, by vendor mantisbt) has improper escaping in its tag update page, where the redirection target taken from the request's Referer header is not properly encoded, allowing HTML injection in versions 2.28.1 and below. An unauthenticated remote attacker can exploit this by sending a crafted Referer header, typically via a link or page that a user visits, and on certain server configurations that cache responses this can poison the cache and lead to cross-site scripting, since modern browsers generally URL-encode special characters and limit direct exploitation.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:47:06Z"},"euvd":{"id":"EUVD-2026-31494","exploited":false,"provenance":"source"}}