GitHub Advisoryadvisory · Packagist

GHSA-4rrc-5vp6-m3f6 MantisBT XSS issue on the view_all_bug_page.php

MEDIUM Published 2022-05-24 Modified 2025-05-29 Official page ↗
Aliases
CVE-2020-16266
Ecosystem
Packagist
Packages
mantisbt/mantisbt
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2025-05-29

Affected packages

• Packagist mantisbt/mantisbt: >= 2.1.0, < 2.24.2 → fixed in 2.24.2

Description

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).

Related

Alias · CVE (1)

  • CVE-2020-16266 An XSS issue was discovered in MantisBT before 2.24.2. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References