# CVE-2024-34081: MantisBT Cross-site Scripting vulnerability

- Severity: Medium 6.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 52% of CVEs (2026-12-01)
- Published: 2024-05-13T15:40:54.014Z
- Modified: 2026-09-10T03:50:14.623Z
- Also known as: GHSA-wgx7-jp56-65mq
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- mantisbt mantisbt: < 2.26.2; before 2.26.2
- mantisbt/mantisbt (Packagist): before 2.26.2

## Every score

- GitHub_M: CVSS:3.1 6.6 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L`
- GitHub: CVSS:3.1 6.6 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/mantisbt/mantisbt/security/advisories/GHSA-wgx7-jp56-65mq> (patch, vendor-advisory, web)
- <https://github.com/mantisbt/mantisbt/commit/447a521aae0f82f791b8116a14a20e276df739be> (patch, web)
- <https://mantisbt.org/bugs/view.php?id=34432> (issue-tracking, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-34081> (advisory)
- <https://github.com/mantisbt/mantisbt> (package)

## Sources

- CVE List: [CVE-2024-34081](https://www.cve.org/CVERecord?id=CVE-2024-34081), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-wgx7-jp56-65mq](https://github.com/advisories/GHSA-wgx7-jp56-65mq), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-34081](https://nvd.nist.gov/vuln/detail/CVE-2024-34081), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-34081 · Whole record: https://cve.day/CVE-2024-34081.json · Rebuilt by cve.day 2026-11-25T22:58:40.166Z
