🛡️ CVE-2024-34081 — mantisbt

🟡 CVSS 6.6 — Medium ✅ No Known Exploit CWE-79 NVD
6.6
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

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

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

  • https://mantisbt.org/bugs/view.php?id=34432
  • This is related to CVE-2020-25830 (same root cause, different affected pages)

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs administrative privileges on the target. No user interaction is required. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality low, integrity low, availability low.

Weakness class

CVE-2024-34081 is classified as CWE-79: Cross-site Scripting (XSS). User-supplied data is written into a page without escaping, so attacker script runs in the browser of anyone who views it.

Affected software

CVE-2024-34081 is recorded against 2 packages.

  • mantisbt (fixed in 2.26.2)
  • mantisbt/mantisbt (fixed in 2.26.2)

Timeline and source

Published on 14 May 2024 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

github.com
github.com
mantisbt.org
github.com
github.com
mantisbt.org

Details

Severity MEDIUM
CVSS Score 6.6
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L
CWE CWE-79
Public Exploit ✅ No
Source NVD
Published 2024-05-14
Updated 2026-08-12
Modified 2026-06-17

Affected Packages

Software From version Fixed in
mantisbt 2.26.2
mantisbt/mantisbt 2.26.2

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in mantisbt

CVE-2024-34081 is rated CVSS 6.6 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.