{"id":"CVE-2024-34081","published":"2024-05-13T15:40:54Z","modified":"2024-08-02T02:42:59Z","title":"MantisBT Cross-site Scripting vulnerability","vendor":"mantisbt","product":"mantisbt","tier":"tail","description":{"text":"MantisBT (Mantis Bug Tracker) is an open source issue tracker.  Improper escaping of a custom field's name allows an attacker to inject HTML and, if CSP settings permit, achieve execution of arbitrary JavaScript when resolving or closing issues (`bug_change_status_page.php`) belonging to a project linking said custom field, viewing issues (`view_all_bug_page.php`) when the custom field is displayed as a column, or printing issues (`print_all_bug_page.php`) when the custom field is displayed as a column. Version 2.26.2 contains a patch for the issue. As a workaround, ensure Custom Field Names do not contain HTML tags.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0068,"percentile":0.47535,"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-wgx7-jp56-65mq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mantisbt/mantisbt/commit/447a521aae0f82f791b8116a14a20e276df739be","tags":["x_refsource_MISC"]},{"url":"https://mantisbt.org/bugs/view.php?id=34432","tags":["x_refsource_MISC"]}],"priority":{"score":14.1,"factors":[{"name":"EPSS percentile","points":9.51},{"name":"CVSS severity","points":4.62}]},"vendorSlug":"mantisbt","affectedVersions":[{"vendor":"mantisbt","product":"mantisbt","versions":["< 2.26.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-12T19:02:37.888445Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"mantisbt/mantisbt","vulnerableRanges":["<2.26.2"],"patched":["2.26.2"],"from":["GHSA-wgx7-jp56-65mq"],"provenance":"source"}],"summary":{"text":"MantisBT, the open source issue tracker, fails to properly escape custom field names, so HTML can be injected through a custom field's name and shown in the bug status change, all-bugs view and print pages wherever that field is linked to a project or displayed as a column. An attacker holding a high-privilege account (the required privilege level) with a page-rendering context can achieve cross-site scripting, executing arbitrary JavaScript in victims' browsers, provided the Content Security Policy does not block it, and the attack requires no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:33:25Z"},"euvd":{"id":"EUVD-2024-1832","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-23830","published":"2024-02-20","fixed":"2.26.1","kev":false,"link":{"from":"CVE-2024-23830","to":"CVE-2024-34081","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:mantisbt/mantisbt","fromFixed":"2.26.1","toFixed":"2.26.2","daysApart":83}]}},{"cve":"CVE-2024-34077","published":"2024-05-13","fixed":"2.26.2","kev":false},{"cve":"CVE-2024-34080","published":"2024-05-13","fixed":"2.26.2","kev":false},{"cve":"CVE-2024-34081","published":"2024-05-13","fixed":"2.26.2","kev":false},{"cve":"CVE-2024-45792","published":"2024-09-30","fixed":"2.26.4","kev":false},{"cve":"CVE-2025-46556","published":"2025-11-04","fixed":"2.27.2","kev":false},{"cve":"CVE-2025-47776","published":"2025-11-04","fixed":"2.27.2","kev":false}],"package":"Packagist:mantisbt/mantisbt"}}