CVE-2024-34081
mediumpriority · track · 19EPSS 0.006 · 50 %ileEUUSEPSS · scored 2026-10-22
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-wgx7-jp56-65mqMantis Bug Tracker (MantisBT) vulnerable to cross-site scripting 2024-05-13ghsa · osvUS
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)
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-34081/cnnvd
- https://github.com/mantisbt/mantisbt/commit/447a521aae0f82f791b8116a14a20e276df739becnnvd
- https://github.com/mantisbt/mantisbt/security/advisories/GHSA-wgx7-jp56-65mqcnnvd
- https://mantisbt.org/bugs/view.php?id=34432cnnvd
- https://github.com/mantisbt/mantisbt/commit/447a521aae0f82f791b8116a14a20e276df739beenisa_euvd
- https://github.com/mantisbt/mantisbt/security/advisories/GHSA-wgx7-jp56-65mqenisa_euvd
- https://mantisbt.org/bugs/view.php?id=34432enisa_euvd
- https://github.com/mantisbt/mantisbt/commit/447a521aae0f82f791b8116a14a20e276df739bePatchnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan