All reports
Medium

Mantis Bug Tracker (MantisBT) vulnerable to cross-site scripting

Affected versions

Affected versions
< 2.26.2
Fixed version
2.26.2

Exploitation

CVE-2024-34081

Probability of exploitation in the next 30 days: 0.64%

FIRST EPSS · 2026-11-21

Description

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

  • printing issues (print_all_bug_page.php) when the custom field is displayed as a column

Impact

Cross-site scripting (XSS).

Patches

https://github.com/mantisbt/mantisbt/commit/447a521aae0f82f791b8116a14a20e276df739be

Workarounds

Ensure Custom Field Names do not contain HTML tags.

References

Links

Credits

  • atrol
  • unboundeduniverse
  • dregad