VDB
Sign up
MEDIUM6.9

GHSA-6jh4-47v2-4g37

MantisBT has Potential Referer-Based Reflected HTML Injection / XSS in Tag Update Page

Quick fix

GHSA-6jh4-47v2-4g37 — mantisbt/mantisbt: upgrade to the fixed version with the command below.

composer require mantisbt/mantisbt:^2.28.2

Details

Improper escaping of the redirection page (retrieved from the request's *Referer* header) allows an attacker to inject HTML.

While this is generally not directly actionable as modern browsers will URL-encode special characters, on some specific server configurations this could poison the cache, leading to cross-site scripting.

### Impact Cross-site scripting (XSS).

### Patches - b1ebc57763f104eb5f541b7b4d1ce6948168abd9

### Workarounds None

### Credits Thanks to siunam (Tang Cheuk Hei) for discovering and responsibly reporting the issue.

Are you affected?

Enter the version of the package you're using.

Affected packages

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