Live threats

All CVEs / Mantisbt

CVE-2017-7897Mantisbt

Medium 6.1 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mantisbt.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
mantisbtmantisbt2.3.0
mantisbtmantisbt2.3.1

Official sources

References

Links published by the sources. Open them with care.