GitHub Advisoryadvisory · Packagist

GHSA-j7v9-f46r-2rp4 MantisBT is Vulnerable to Reflected XSS in Rendering Dynamic Custom Textarea Field

MEDIUM Published 2026-05-11 Modified 2026-06-09 Official page ↗
Aliases
CVE-2026-41897
Ecosystem
Packagist
Packages
mantisbt/mantisbt
Severity
Moderate
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Weaknesses
CWE-79
Reviewed
2026-05-11

Affected packages

• Packagist mantisbt/mantisbt: >= 1.0.0, < 2.28.2 → fixed in 2.28.2

Description

Lack of validation of filter_target parameter on return_dynamic_filters.php (normally used as an AJAX in View Issues Page) allows an attacker to inject arbitrary HTML if the target is a TEXTAREA custom field. Impact Cross-site scripting (XSS) Patches • c885af13f0b8596714ffe11df757c09f35fbd8f4 Workarounds None Credits Thanks to siunam (Tang Cheuk Hei) for discovering and responsibly reporting the issue.

Related

Alias · CVE (1)

  • CVE-2026-41897 Mantis Bug Tracker (MantisBT) is an open source issue tracker. vulnerability

Weakness · CWE (1)

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

References