MantisBT Cross-site Scripting vulnerability
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
mantisbt/mantisbtPackagist | < 2.26.2 | 2.26.2 |
Affected products
2Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-wgx7-jp56-65mqghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-34081ghsaADVISORY
- github.com/mantisbt/mantisbt/commit/447a521aae0f82f791b8116a14a20e276df739beghsax_refsource_MISCWEB
- github.com/mantisbt/mantisbt/security/advisories/GHSA-wgx7-jp56-65mqghsax_refsource_CONFIRMWEB
- mantisbt.org/bugs/view.phpghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.