Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. mantisbt/mantisbt
  4. ›
  5. CVE-2026-40598

CVE-2026-40598: MantisBT has Potential Referer-Based Reflected HTML Injection / XSS in Tag Update Page

May 11, 2026 (updated June 8, 2026)

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.

References

  • github.com/advisories/GHSA-6jh4-47v2-4g37
  • github.com/mantisbt/mantisbt/commit/b1ebc57763f104eb5f541b7b4d1ce6948168abd9
  • github.com/mantisbt/mantisbt/security/advisories/GHSA-6jh4-47v2-4g37
  • mantisbt.org/bugs/view.php?id=37017
  • nvd.nist.gov/vuln/detail/CVE-2026-40598

Code Behaviors & Features

Detect and mitigate CVE-2026-40598 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.28.2

Fixed versions

  • 2.28.2

Solution

Upgrade to version 2.28.2 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/mantisbt/mantisbt/CVE-2026-40598.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 14 Jun 2026 12:17:12 +0000.