{"id":"CVE-2024-34081","state":"PUBLISHED","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 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.","publishedAt":"2024-05-13T15:40:54.014Z","updatedAt":"2024-08-02T02:42:59.876Z","severity":{"score":6.6,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["mantisbt mantisbt"],"affected":[{"vendor":"mantisbt","product":"mantisbt","versions":[{"version":"< 2.26.2","status":"affected"}]}],"references":["https://github.com/mantisbt/mantisbt/security/advisories/GHSA-wgx7-jp56-65mq","https://github.com/mantisbt/mantisbt/commit/447a521aae0f82f791b8116a14a20e276df739be","https://mantisbt.org/bugs/view.php?id=34432"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:07:30.303Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/34xxx/CVE-2024-34081.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-34081","state":"PUBLISHED","datePublished":"2024-05-13T15:40:54.014Z","dateUpdated":"2024-08-02T02:42:59.876Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-04-30T06:56:33.384Z"},"containers":{"cna":{"title":"MantisBT Cross-site Scripting vulnerability","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"mantisbt","product":"mantisbt","versions":[{"version":"< 2.26.2","status":"affected"}]}],"references":[{"url":"https://github.com/mantisbt/mantisbt/security/advisories/GHSA-wgx7-jp56-65mq","name":"https://github.com/mantisbt/mantisbt/security/advisories/GHSA-wgx7-jp56-65mq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mantisbt/mantisbt/commit/447a521aae0f82f791b8116a14a20e276df739be","name":"https://github.com/mantisbt/mantisbt/commit/447a521aae0f82f791b8116a14a20e276df739be","tags":["x_refsource_MISC"]},{"url":"https://mantisbt.org/bugs/view.php?id=34432","name":"https://mantisbt.org/bugs/view.php?id=34432","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.6,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-05-13T15:40:54.014Z"},"source":{"advisory":"GHSA-wgx7-jp56-65mq","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-12T19:02:37.888445Z","id":"CVE-2024-34081","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-12T19:02:46.705Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/mantisbt/mantisbt/security/advisories/GHSA-wgx7-jp56-65mq","name":"https://github.com/mantisbt/mantisbt/security/advisories/GHSA-wgx7-jp56-65mq","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/mantisbt/mantisbt/commit/447a521aae0f82f791b8116a14a20e276df739be","name":"https://github.com/mantisbt/mantisbt/commit/447a521aae0f82f791b8116a14a20e276df739be","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://mantisbt.org/bugs/view.php?id=34432","name":"https://mantisbt.org/bugs/view.php?id=34432","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T02:42:59.876Z"}}]}}}