CVE-2024-34081

Medium

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.

SeverityMedium
CVSS6.6
Exploit probability—
ProductMantisbt
PublishedMay 14, 2024
First seenMay 14, 2024

How to fix

Update
  • mantisbt mantisbt2.26.2 or later
  • mantisbt/mantisbt2.26.2 or later

Affected products

ProductAffected versionsFixed in
mantisbt mantisbtv < 2.26.22.26.2
mantisbt/mantisbtPackagistv < 2.26.22.26.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.