ADVISORIES

GitHub Advisory Database

GHSA-p6fr-rxq7-xcg8

MantisBT Vulnerable to Stored XSS in File Download

Details

Using *show_inline=1* parameter and a valid *file_show_inline_token* CSRF token on file_download.php, an attacker can execute code by uploading a crafted XHTML attachment referencing a JavaScript attachment.

Impact

Cross-site scripting

Patches

  • 26647b2e68ba30b9d7987d4e03d7a16416684bc2

Workarounds

None

Credits

Thanks to siunam (Tang Cheuk Hei) for discovering and responsibly reporting the issue.

Affected packages

EcosystemPackageAffected versions
Packagistmantisbt/mantisbt
All versions before 2.28.2 (fixed in 2.28.2)

References