ADVISORIES

GitHub Advisory Database

GHSA-qghg-v7xv-q98q

MantisBT XSS through crafted SVG documents in file_download.php

Moderate CVE-2022-33910

Details

An XSS vulnerability in MantisBT before 2.25.5 allows remote attackers to attach crafted SVG documents to issue reports or bugnotes. When a user or an admin clicks on the attachment, file_download.php opens the SVG document in a browser tab instead of downloading it as a file, causing the JavaScript code to execute.

Affected packages

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

References