Advisory

GHSA-p495-jrpq-p66g

Also known as: CVE-2019-15539

Summary

MantisBT XSS when uploading an attachment

Details

The proj_doc_edit_page.php Project Documentation feature in MantisBT before 2.21.3 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 when editing the document's page.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-24 17:11 UTC
Modified
2025-05-29 16:14 UTC

Affected packages and fixes

mantisbt/mantisbt

Packagist · All systems

Affected

  • introduced 0, fixed 2.21.3 (ecosystem)

Fixed versions

2.21.3

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