GitHub Advisory Database
GHSA-v7qf-22rw-chph
MantisBT XSS via adm_config_report.php's action parameter
Details
A cross-site scripting (XSS) vulnerability in the MantisBT Configuration Report page (adm_config_report.php) allows remote attackers to inject arbitrary code through a crafted 'action' parameter. This is fixed in 1.3.8, 2.1.2, and 2.2.2.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | mantisbt/mantisbt | All versions before 1.3.8 (fixed in 1.3.8) |
| Packagist | mantisbt/mantisbt | From 2.0.0 before 2.1.2 (fixed in 2.1.2) |
| Packagist | mantisbt/mantisbt | From 2.2.0 before 2.2.2 (fixed in 2.2.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-6973
- https://github.com/mantisbt/mantisbt/commit/034cd07b47af37366fc7b726cb4a4f971d3d3fb9
- https://github.com/mantisbt/mantisbt/commit/15e52e84c389afe8b03ed3cdb59b6549257ed197
- https://github.com/mantisbt/mantisbt/commit/da74c5aa02bcf21cfaab1180f892c22415e5fea6
- https://github.com/mantisbt/mantisbt
- http://www.mantisbt.org/bugs/view.php?id=22537