CVE-2017-7897Mantisbt
Medium 6.1 No auth needed
Follow: this CVE · Mantisbt · Mantisbt We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.0
- 6.1
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 78
- Auth required
- No
- Published
- Apr 18, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
A cross-site scripting (XSS) vulnerability in the MantisBT (2.3.x before 2.3.2) Timeline include page, used in My View (my_view_page.php) and User Information (view_user_page.php) pages, allows remote attackers to inject arbitrary code (if CSP settings permit it) through crafted PATH_INFO in a URL, due to use of unsanitized $_SERVER['PHP_SELF'] to generate URLs.
What to do
- Apply the vendor's security update for Mantisbt.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | mantisbt/mantisbt |
≥ 2.3.0 < 2.3.2 |
2.3.2 |
composer require "mantisbt/mantisbt:^2.3.2" |
Per OSV / GitHub Advisories (GHSA-8r2m-qhff-jm2c). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mantisbt | mantisbt | 2.3.0 |
| mantisbt | mantisbt | 2.3.1 |
Official sources
References
Links published by the sources. Open them with care.
- www.mantisbt.org Exploit Issue Tracking
- www.securitytracker.com
- github.com Patch
- github.com Exploit Patch Vendor Advisory