GitHub Advisoryadvisory · Packagist
GHSA-qghg-v7xv-q98q MantisBT XSS through crafted SVG documents in file_download.php
MEDIUM
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
- https://nvd.nist.gov/vuln/detail/CVE-2022-33910 advisory
- https://github.com/mantisbt/mantisbt/commit/266762193fc6c09ffc6b14f5a34c86eae3ebee20 web
- https://github.com/mantisbt/mantisbt package
- https://mantisbt.org/blog/archives/mantisbt/719 web
- https://mantisbt.org/bugs/view.php?id=29135 web
- https://mantisbt.org/bugs/view.php?id=30384 web