CVE-2024-34081

MantisBT Cross-site Scripting vulnerability

Published May 13, 2024 CVSS 3.1 · 6.6 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-1832 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.
Github GHSA Github GHSA GHSA-wgx7-jp56-65mq Mantis Bug Tracker (MantisBT) vulnerable to cross-site scripting
History
Type Values Removed Values Added
First Time appeared Mantisbt
Mantisbt mantisbt
CPEs cpe:2.3:a:mantisbt:mantisbt:*:*:*:*:*:*:*:*
Vendors & Products Mantisbt
Mantisbt mantisbt
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 2, 2024, 2:42 AM
Reserved
Apr 30, 2024, 6:56 AM
Status
Analyzed
Published
May 14, 2024, 3:38 PM
Modified
Jun 17, 2026, 7:32 AM