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

CVE-2019-15074: MantisBT allows cross-site scripting (XSS) via crafted filename

May 24, 2022 (updated October 31, 2025)

The Timeline feature in my_view_page.php in MantisBT through 2.21.1 has a stored cross-site scripting (XSS) vulnerability, allowing execution of arbitrary code (if CSP settings permit it) after uploading an attachment with a crafted filename. The code is executed for any user having visibility to the issue, whenever My View Page is displayed.

References

  • github.com/advisories/GHSA-gg4j-279j-22ph
  • github.com/mantisbt/mantisbt
  • github.com/mantisbt/mantisbt/commit/9cee1971c498bbe0a72bca1c773fae50171d8c27
  • mantisbt.org/bugs/view.php?id=25995
  • nvd.nist.gov/vuln/detail/CVE-2019-15074

Code Behaviors & Features

Detect and mitigate CVE-2019-15074 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.21.2

Fixed versions

  • 2.21.2

Solution

Upgrade to version 2.21.2 or above.

Impact 9.6 CRITICAL

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

Learn more about CVSS

Weakness

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

Source file

packagist/mantisbt/mantisbt/CVE-2019-15074.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Thu, 08 Jan 2026 12:20:01 +0000.