Advisory

GHSA-8r2m-qhff-jm2c

Also known as: CVE-2017-7897

Summary

MantisBT XSS via my_view_page.php and view_user_page.php

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-17 02:31 UTC
Modified
2025-06-04 23:42 UTC

Affected packages and fixes

mantisbt/mantisbt

Packagist · All systems

Affected

  • introduced 2.3.0, fixed 2.3.2 (ecosystem)

Fixed versions

2.3.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences