Advisory

GHSA-gg4j-279j-22ph

Also known as: CVE-2019-15074

Summary

MantisBT allows cross-site scripting (XSS) via crafted filename

Details

The Timeline feature in my_view_page.php in MantisBT through 2.21.1 has a stored cross-site scripting (XSS) vulnerability, allowing execution of arbitrary code (if CSP settings permit it) after uploading an attachment with a crafted filename. The code is executed for any user having visibility to the issue, whenever My View Page is displayed.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-24 16:54 UTC
Modified
2025-05-29 15:57 UTC

Affected packages and fixes

mantisbt/mantisbt

Packagist · All systems

Affected

  • introduced 0, fixed 2.21.2 (ecosystem)

Fixed versions

2.21.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