MEDIUM6.1
GHSA-rqgj-rqfr-5j6f
MantisBT vulnerable to XSS due to improper escape in manage_plugin_page.php and manage_plugin_uninstall.php
Quick fix
GHSA-rqgj-rqfr-5j6f — mantisbt/mantisbt: upgrade to the fixed version with the command below.
composer require mantisbt/mantisbt:^2.25.3Details
An XSS issue was discovered in MantisBT before 2.25.3. Improper escaping of a Plugin name allows execution of arbitrary code (if CSP allows it) in manage_plugin_page.php and manage_plugin_uninstall.php when a crafted plugin is installed.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/mantisbt/mantisbt
Introduced in:
0Fixed in: 2.25.3Fix
composer require mantisbt/mantisbt:^2.25.3References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/mantisbt/mantisbt"]}'