CVE details
CVE-2024-34081
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.
Affected ports (5)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| databases/mantis | mantis-php82 | 2.26.0,1 | unaddressed | zab@zltech.eu |
| databases/mantis | mantis-php83 | 2.26.0,1 | unaddressed | zab@zltech.eu |
| databases/mantis | mantis-php84 | 2.26.0,1 | unaddressed | zab@zltech.eu |
| databases/mantis | mantis-php85 | 2.26.0,1 | unaddressed | zab@zltech.eu |
| databases/mantis | mantis-php86 | 2.26.0,1 | unaddressed | zab@zltech.eu |
Template for a VuXML entry
Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>FIXME -- FIXME</topic>
<affects>
<package>
<name>mantis-php82</name>
<range><lt>2.26.2</lt></range>
</package>
<package>
<name>mantis-php83</name>
<range><lt>2.26.2</lt></range>
</package>
<package>
<name>mantis-php84</name>
<range><lt>2.26.2</lt></range>
</package>
<package>
<name>mantis-php85</name>
<range><lt>2.26.2</lt></range>
</package>
<package>
<name>mantis-php86</name>
<range><lt>2.26.2</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>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.</p>
</body>
</description>
<references>
<cvename>CVE-2024-34081</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2024-34081</url>
</references>
<dates>
<discovery>2024-05-14</discovery>
<entry>2026-10-25</entry>
</dates>
</vuln>