{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-34081","id":"CVE-2024-34081","title":"MantisBT Cross-site Scripting vulnerability","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 displaye","descriptionLong":"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.","published":"2024-05-13T15:40:54.014Z","updated":"2026-10-28T02:31:11.640590748Z","reserved":"2024-04-30T06:56:33.384Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L","rating":"medium","source":"github.com"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L","rating":"medium","source":"GitHub"}],"rating":"medium","products":["mantisbt"],"affectedProducts":[{"vendor":"mantisbt","product":"mantisbt","defaultStatus":null,"versions":[{"version":"< 2.26.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"mantisbt/mantisbt","purl":"pkg:composer/mantisbt/mantisbt","ranges":["<2.26.2"],"fixed":["2.26.2"],"advisory":"GHSA-wgx7-jp56-65mq"}],"cwes":["CWE-79"],"aliases":["GHSA-wgx7-jp56-65mq"],"references":[{"url":"https://github.com/mantisbt/mantisbt/security/advisories/GHSA-wgx7-jp56-65mq","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","advisory","web"]},{"url":"https://github.com/mantisbt/mantisbt/commit/447a521aae0f82f791b8116a14a20e276df739be","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://mantisbt.org/bugs/view.php?id=34432","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Mitigation","Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34081.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34081","tags":["advisory"]},{"url":"https://github.com/mantisbt/mantisbt","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00642,"epssPercentile":0.51546,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-34081","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34081","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-34081","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-wgx7-jp56-65mq","ok":true,"note":"GHSA-wgx7-jp56-65mq"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-34081","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}