Advisory

GHSA-qgrr-f26j-87vf

Also known as: CVE-2020-25288

Summary

MantisBT XXS where a Custom Field with a crafted Regular Expression property is used

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-24 17:29 UTC
Modified
2025-05-29 16:14 UTC

Affected packages and fixes

mantisbt/mantisbt

Packagist · All systems

Affected

  • introduced 2.23.0, fixed 2.24.3 (ecosystem)

Fixed versions

2.24.3

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences