VDB
Sign up
MEDIUM6.1

GHSA-cvrm-cr3m-qj92

MantisBT XSS in manage_custom_field_update.php

Quick fix

GHSA-cvrm-cr3m-qj92 — mantisbt/mantisbt: upgrade to the fixed version with the command below.

composer require mantisbt/mantisbt:^2.25.0

Details

An issue was discovered in MantisBT through 2.24.3. In the helper_ensure_confirmed call in manage_custom_field_update.php, the custom field name is not sanitized. This may be problematic depending on CSP settings.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/mantisbt/mantisbt
Introduced in: 0Fixed in: 2.25.0
Fixcomposer require mantisbt/mantisbt:^2.25.0

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