VDB
Sign up
MEDIUM4.7

GHSA-8vx9-hcvq-gfv8

MantisBT XSS through weak CSP when using Gravatar plugin

Quick fix

GHSA-8vx9-hcvq-gfv8 — mantisbt/mantisbt: upgrade to the fixed version with the command below.

composer require mantisbt/mantisbt:^1.3.1

Details

MantisBT before 1.3.1 and 2.x before 2.0.0-beta.2 uses a weak Content Security Policy when using the Gravatar plugin, which allows remote attackers to conduct cross-site scripting (XSS) attacks via unspecified vectors.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/mantisbt/mantisbt
Introduced in: 0Fixed in: 1.3.1
Fixcomposer require mantisbt/mantisbt:^1.3.1
Packagist/mantisbt/mantisbt
Introduced in: 2.0.0-beta.1Fixed in: 2.0.0-beta.2
Fixcomposer require mantisbt/mantisbt:^2.0.0-beta.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"]}'