GitHub Advisoryadvisory · Packagist

GHSA-gg4j-279j-22ph MantisBT allows cross-site scripting (XSS) via crafted filename

MEDIUM Published 2022-05-24 Modified 2025-05-29 Official page ↗
Aliases
CVE-2019-15074
Ecosystem
Packagist
Packages
mantisbt/mantisbt
Severity
Moderate
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Weaknesses
CWE-79
Reviewed
2025-05-29

Affected packages

• Packagist mantisbt/mantisbt: < 2.21.2 → fixed in 2.21.2

Description

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.

Related

Alias · CVE (1)

  • CVE-2019-15074 The Timeline feature in my_view_page.php in MantisBT through 2.21.1 has a stored cross-site scripting (XSS) vulnerability, allowing… vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References