CVE-2024-34081
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…
Does this matter?
Lower severity and a low EPSS score (0.65%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 3.1
- 4.8 MEDIUMCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- EPSS
- 0.65% probability · 49th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-79
- Affected
- mantisbt/mantisbt
- Source
- security-advisories@github.com
References
- https://github.com/mantisbt/mantisbt/commit/447a521aae0f82f791b8116a14a20e276df739bePatch
- https://github.com/mantisbt/mantisbt/security/advisories/GHSA-wgx7-jp56-65mqPatch, Vendor Advisory
- https://mantisbt.org/bugs/view.php?id=34432Issue Tracking, Mitigation, Vendor Advisory
- https://github.com/mantisbt/mantisbt/commit/447a521aae0f82f791b8116a14a20e276df739bePatch
- https://github.com/mantisbt/mantisbt/security/advisories/GHSA-wgx7-jp56-65mqPatch, Vendor Advisory
- https://mantisbt.org/bugs/view.php?id=34432Issue Tracking, Mitigation, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.