CVE-2024-34081
MEDIUM 4.8CVSS 3.1Mantis Bug Tracker (MantisBT) vulnerable to cross-site scripting
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.
- Published
- 14 May 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-wgx7-jp56-65mq
- Sources
- NVDJSONOSV GHSA-wgx7-jp56-65mqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.6 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.6 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mantisbt | mantisbtcpe:2.3:a:mantisbt:mantisbt:*:*:*:*:*:*:*:* |
< 2.26.2 | 2.26.2 |
| OSV | Packagist | mantisbt/mantisbt | < 2.26.2 | 2.26.2 |
References
- https://github.com/mantisbt/mantisbt/commit/447a521aae0f82f791b8116a14a20e276df739be · Patch, WEB
- https://github.com/mantisbt/mantisbt/security/advisories/GHSA-wgx7-jp56-65mq · Patch, Vendor Advisory, WEB
- https://mantisbt.org/bugs/view.php?id=34432 · Issue Tracking, Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-34081 · ADVISORY
- https://github.com/mantisbt/mantisbt · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 14 May 2024)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 May 2024)