VDB
Sign up
MEDIUM4.8

GHSA-4w6c-3hcx-rfj5

MantisBT vulnerable to XSS through config_option parameter in adm_config_report.php

Quick fix

GHSA-4w6c-3hcx-rfj5 — mantisbt/mantisbt: upgrade to the fixed version with the command below.

composer require mantisbt/mantisbt:^1.3.9

Details

A cross-site scripting (XSS) vulnerability in the MantisBT Configuration Report page (adm_config_report.php) allows remote attackers to inject arbitrary code (if CSP settings permit it) through a crafted 'config_option' parameter. This is fixed in 1.3.9, 2.1.3, and 2.2.3.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/mantisbt/mantisbt
Introduced in: 0Fixed in: 1.3.9
Fixcomposer require mantisbt/mantisbt:^1.3.9
Packagist/mantisbt/mantisbt
Introduced in: 2.1.0Fixed in: 2.1.3
Fixcomposer require mantisbt/mantisbt:^2.1.3
Packagist/mantisbt/mantisbt
Introduced in: 2.2.0Fixed in: 2.2.3
Fixcomposer require mantisbt/mantisbt:^2.2.3

References

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"]}'