GitHub Advisoryadvisory · Packagist

GHSA-qgrr-f26j-87vf MantisBT XXS where a Custom Field with a crafted Regular Expression property is used

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

Affected packages

• Packagist mantisbt/mantisbt: >= 2.23.0, < 2.24.3 → fixed in 2.24.3

Description

An issue was discovered in MantisBT before 2.24.3. When editing an Issue in a Project where a Custom Field with a crafted Regular Expression property is used, improper escaping of the corresponding form input's pattern attribute allows HTML injection and, if CSP settings permit, execution of arbitrary JavaScript.

Related

Alias · CVE (1)

  • CVE-2020-25288 An issue was discovered in MantisBT before 2.24.3. vulnerability

Weakness · CWE (1)

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

References