NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2026-40596: MantisBT is Vulnerable to XSS leading to account takeover via updating a user's font family preference

highCVSS 4.0 7.2GHSA-j3v9-553h-x28j

Any authenticated user can inject arbitrary HTML via updating their account's font family. Impact Cross-site scripting. The injected payload will be reflected in every MantisBT page. Leveraging another vulnerability (CSP bypass, see GHSA-9c3j-xm6v-j7j3), the attacker could achieve account takeover.

Published May 11, 2026 · Updated Jun 8, 2026

Affected packages

mantisbt/mantisbt

Ecosystem
Composer (PHP)
Affected
>= 2.11.0, <= 2.28.1
Fixed in
2.28.2
Check
composer show mantisbt/mantisbt

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Any authenticated user can inject arbitrary HTML via updating their account's font family.

Impact

Cross-site scripting. The injected payload will be reflected in every MantisBT page.

Leveraging another vulnerability (CSP bypass, see GHSA-9c3j-xm6v-j7j3), the attacker could achieve account takeover.

Patches

  • 9e8409cdd979eba86ef532756fc47c1d8112d22d

Workarounds

None

Credits

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

Credited to siunam321, dregad.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries