{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": [
              "cpe:2.3:a:mantisbt:mantisbt:2.3.0:*:*:*:*:*:*:*",
              "cpe:2.3:a:mantisbt:mantisbt:2.3.1:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
              {
                "introduced": "2.3.0"
              },
              {
                "last_affected": "2.3.0"
              },
              {
                "introduced": "2.3.1"
              },
              {
                "last_affected": "2.3.1"
              }
            ],
            "source": [
              "CPE_STRING",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0c6dde3dea2ea43d1d38f72f44834436c6dd4d74"
            },
            {
              "last_affected": "27b5b292c9814a40fdd5715fa499a82e29f6f866"
            },
            {
              "fixed": "a1c719313d61b07bbe8700005807b8195fdc32f1"
            }
          ],
          "repo": "https://github.com/mantisbt/mantisbt",
          "type": "GIT"
        }
      ],
      "versions": [
        "2.3.0",
        "2.3.1"
      ]
    }
  ],
  "database_specific": {},
  "details": "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.",
  "id": "CVE-2017-7897",
  "modified": "2026-08-07T11:31:16.675379142Z",
  "published": "2017-04-18T17:59:00.163Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://www.securitytracker.com/id/1038278"
    },
    {
      "type": "REPORT",
      "url": "http://www.mantisbt.org/bugs/view.php?id=22742"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mantisbt/mantisbt/commit/a1c719313d61b07bbe8700005807b8195fdc32f1"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mantisbt/mantisbt/pull/1094"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}