GitHub Advisoryadvisory · Packagist

GHSA-qghg-v7xv-q98q MantisBT XSS through crafted SVG documents in file_download.php

MEDIUM Published 2022-06-25 Modified 2025-06-11 Official page ↗
Aliases
CVE-2022-33910
Ecosystem
Packagist
Packages
mantisbt/mantisbt
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2025-06-11

Affected packages

• Packagist mantisbt/mantisbt: < 2.25.5 → fixed in 2.25.5

Description

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.

Related

Alias · CVE (1)

  • CVE-2022-33910 An XSS vulnerability in MantisBT before 2.25.5 allows remote attackers to attach crafted SVG documents to issue reports or bugnotes. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References