Advisory

GHSA-x53v-v9xp-gf6g

Also known as: CVE-2017-7241

Summary

MantisBT XSS via move_attachments_page.php

Details

A cross-site scripting (XSS) vulnerability in the MantisBT Move Attachments page (move_attachments_page.php, part of admin tools) allows remote attackers to inject arbitrary code through a crafted 'type' parameter, if Content Security Protection (CSP) settings allows it. This is fixed in 1.3.9, 2.1.3, and 2.2.3. Note that this vulnerability is not exploitable if the admin tools directory is removed, as recommended in the "Post-installation and upgrade tasks" of the MantisBT Admin Guide. A reminder to do so is also displayed on the login page.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-17 02:30 UTC
Modified
2025-06-11 19:42 UTC

Affected packages and fixes

mantisbt/mantisbt

Packagist · All systems

Affected

  • introduced 0, fixed 1.3.9 (ecosystem)

Fixed versions

1.3.9

Fix

The export has no generic command for this ecosystem.

mantisbt/mantisbt

Packagist · All systems

Affected

  • introduced 2.0.0, fixed 2.1.3 (ecosystem)

Fixed versions

2.1.3

Fix

The export has no generic command for this ecosystem.

mantisbt/mantisbt

Packagist · All systems

Affected

  • introduced 2.2.0, fixed 2.2.3 (ecosystem)

Fixed versions

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