Advisory

GHSA-qghg-v7xv-q98q

Also known as: CVE-2022-33910

Summary

MantisBT XSS through crafted SVG documents in file_download.php

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-06-25 00:00 UTC
Modified
2025-06-11 17:57 UTC

Affected packages and fixes

mantisbt/mantisbt

Packagist · All systems

Affected

  • introduced 0, fixed 2.25.5 (ecosystem)

Fixed versions

2.25.5

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