VDB
Sign up
MEDIUM6.5

GHSA-r3jf-hm7q-qfw5

MantisBT Vulnerable to Denial-of-Service (DoS) via Excessive Note Length

Quick fix

GHSA-r3jf-hm7q-qfw5 — mantisbt/mantisbt: upgrade to the fixed version with the command below.

composer require mantisbt/mantisbt:^2.27.2

Details

A lack of server-side validation for note length in MantisBT allows attackers to permanently corrupt issue activity logs by submitting extremely long notes (tested with 4,788,761 characters). Once such a note is added:

### Impact - The entire activity stream becomes unviewable (UI fails to render). - New notes cannot be displayed, effectively breaking all future collaboration on the issue.

### Patches Fixed in 2.27.2.

### Workarounds None

### Credits Thanks to Mazen Mahmoud (@TheAmazeng) for reporting the vulnerability.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/mantisbt/mantisbt
Introduced in: 0Fixed in: 2.27.2
Fixcomposer require mantisbt/mantisbt:^2.27.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"]}'