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

CVE-2020-16266: MantisBT XSS issue on the view_all_bug_page.php

May 24, 2022 (updated May 29, 2025)

An XSS issue was discovered in MantisBT before 2.24.2. Improper escaping on view_all_bug_page.php allows a remote attacker to inject arbitrary HTML into the page by saving it into a text Custom Field, leading to possible code execution in the browser of any user subsequently viewing the issue (if CSP settings allow it).

References

  • github.com/advisories/GHSA-4rrc-5vp6-m3f6
  • github.com/mantisbt/mantisbt
  • github.com/mantisbt/mantisbt/commit/9ef8f23a8119221d010251112b1255630a46d903
  • mantisbt.org/blog/archives/mantisbt/665
  • mantisbt.org/bugs/view.php?id=27056
  • nvd.nist.gov/vuln/detail/CVE-2020-16266

Code Behaviors & Features

Detect and mitigate CVE-2020-16266 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 starting from 2.1.0 before 2.24.2

Fixed versions

  • 2.24.2

Solution

Upgrade to version 2.24.2 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/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-2020-16266.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 14 Dec 2025 12:20:10 +0000.