MEDIUM
GHSA-j7v9-f46r-2rp4
MantisBT is Vulnerable to Reflected XSS in Rendering Dynamic Custom Textarea Field
Quick fix
GHSA-j7v9-f46r-2rp4 — mantisbt/mantisbt: upgrade to the fixed version with the command below.
composer require mantisbt/mantisbt:^2.28.2Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/mantisbt/mantisbt
Introduced in:
1.0.0Fixed in: 2.28.2Fix
composer require mantisbt/mantisbt:^2.28.2References
- https://github.com/mantisbt/mantisbt/security/advisories/GHSA-j7v9-f46r-2rp4[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2026-41897[ADVISORY]
- https://github.com/mantisbt/mantisbt/commit/c885af13f0b8596714ffe11df757c09f35fbd8f4[WEB]
- https://github.com/mantisbt/mantisbt[PACKAGE]
- https://mantisbt.org/bugs/view.php?id=37013[WEB]