An issue was discovered in MantisBT through 2.24.3. In the helperensureconfirmed call in managecustomfield_update.php, the custom field name is not sanitized. This may be problematic depending on CSP settings.