Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. mantisbt/mantisbt
  4. ›
  5. CVE-2022-33910

CVE-2022-33910: MantisBT XSS through crafted SVG documents in file_download.php

June 25, 2022 (updated June 11, 2025)

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.

References

  • github.com/advisories/GHSA-qghg-v7xv-q98q
  • github.com/mantisbt/mantisbt
  • github.com/mantisbt/mantisbt/commit/266762193fc6c09ffc6b14f5a34c86eae3ebee20
  • mantisbt.org/blog/archives/mantisbt/719
  • mantisbt.org/bugs/view.php?id=29135
  • mantisbt.org/bugs/view.php?id=30384
  • nvd.nist.gov/vuln/detail/CVE-2022-33910

Code Behaviors & Features

Detect and mitigate CVE-2022-33910 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.25.5

Fixed versions

  • 2.25.5

Solution

Upgrade to version 2.25.5 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/mantisbt/mantisbt/CVE-2022-33910.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:24 +0000.