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

CVE-2020-25288: MantisBT XXS where a Custom Field with a crafted Regular Expression property is used

May 24, 2022 (updated May 29, 2025)

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.

References

  • github.com/advisories/GHSA-qgrr-f26j-87vf
  • github.com/mantisbt/mantisbt
  • github.com/mantisbt/mantisbt/commit/221cf323f16a9738a5b27aaba94758f11281d85c
  • mantisbt.org/bugs/view.php?id=27275
  • nvd.nist.gov/vuln/detail/CVE-2020-25288

Code Behaviors & Features

Detect and mitigate CVE-2020-25288 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.23.0 before 2.24.3

Fixed versions

  • 2.24.3

Solution

Upgrade to version 2.24.3 or above.

Impact 4.8 MEDIUM

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Mon, 15 Dec 2025 00:18:54 +0000.