VDB
Sign up
MEDIUM4.8

GHSA-v7qf-22rw-chph

MantisBT XSS via adm_config_report.php's action parameter

Quick fix

GHSA-v7qf-22rw-chph — mantisbt/mantisbt: upgrade to the fixed version with the command below.

composer require mantisbt/mantisbt:^1.3.8

Details

A cross-site scripting (XSS) vulnerability in the MantisBT Configuration Report page (adm_config_report.php) allows remote attackers to inject arbitrary code through a crafted 'action' parameter. This is fixed in 1.3.8, 2.1.2, and 2.2.2.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/mantisbt/mantisbt
Introduced in: 0Fixed in: 1.3.8
Fixcomposer require mantisbt/mantisbt:^1.3.8
Packagist/mantisbt/mantisbt
Introduced in: 2.0.0Fixed in: 2.1.2
Fixcomposer require mantisbt/mantisbt:^2.1.2
Packagist/mantisbt/mantisbt
Introduced in: 2.2.0Fixed in: 2.2.2
Fixcomposer require mantisbt/mantisbt:^2.2.2

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