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": "MODERATE",
"nvd_published_at": "2022-06-24T17:15:00Z",
"github_reviewed_at": "2025-06-11T17:29:39Z",
"github_reviewed": true,
"cwe_ids": [
"CWE-79"
]
}