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

CVE-2021-33557: MantisBT allows XSS in manage_custom_field_edit_page.php

May 24, 2022 (updated May 29, 2025)

An XSS issue was discovered in manage_custom_field_edit_page.php in MantisBT before 2.25.2. Unescaped output of the return parameter allows an attacker to inject code into a hidden input field.

References

  • github.com/advisories/GHSA-52cx-vphc-jmjm
  • github.com/mantisbt/mantisbt
  • github.com/mantisbt/mantisbt/commit/03dd37221e636f8959b8cb9fbad84f38f9582356
  • mantisbt.org/blog/archives/mantisbt/699
  • mantisbt.org/bugs/view.php?id=28552
  • nvd.nist.gov/vuln/detail/CVE-2021-33557

Code Behaviors & Features

Detect and mitigate CVE-2021-33557 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.25.2

Fixed versions

  • 2.25.2

Solution

Upgrade to version 2.25.2 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/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-2021-33557.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Thu, 08 Jan 2026 12:19:20 +0000.