Vulnerability · Published May 13, 2024 · Assigned by GitHub_M

CVE-2024-34081MantisBT Cross-site Scripting vulnerability

Medium 6.6

In plain English

A medium-severity cross-site scripting in mantisbt from mantisbt. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.6Medium
Exploit odds (30 days)0.6%top 49.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistmantisbt/mantisbt2.26.2GHSA-wgx7-jp56-65mq

Affected products (as reported)

VendorProductVersions
mantisbt mantisbt < 2.26.2

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L

References