medium5.4
CVE-2022-33910
MantisBT XSS through crafted SVG documents in file_download.php
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | mantisbt/mantisbt | < 2.25.5 | 2.25.5 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Mantisbt | Mantisbt | before 2.25.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://mantisbt.org/blog/archives/mantisbt/719
- https://mantisbt.org/bugs/view.php?id=29135
- https://mantisbt.org/bugs/view.php?id=30384
- https://github.com/advisories/GHSA-qghg-v7xv-q98q
- https://nvd.nist.gov/vuln/detail/CVE-2022-33910
- https://github.com/mantisbt/mantisbt/commit/266762193fc6c09ffc6b14f5a34c86eae3ebee20