CVE-2018-16514: MantisBT Cross-Site Scripting Vulnerability via Crafted PATH_INFO

mantisbt/mantisbt Updated 02 Oct 2025

Summary

24/05/2022
Yes i
Moderate
6.1

CVE-2018-16514: MantisBT cross-site scripting (XSS) vulnerability through crafted PATH_INFO. Affects mantisbt/mantisbt versions >= 2.1.0, < 2.17.1. Fixed in 2.17.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

MantisBT is an open-source issue tracker that helps teams manage and track software development projects. It provides features such as bug tracking, project management, and collaboration tools. However, versions 2.1.0 through 2.17.0 are vulnerable to a cross-site scripting (XSS) attack, which can allow attackers to inject malicious scripts into web pages viewed by other users.

Vulnerability Detail

A cross-site scripting (XSS) vulnerability exists in the View Filters page (view_filters_page.php) and Edit Filter page (manage_filter_edit_page.php) of MantisBT versions 2.1.0 to 2.17.0. This vulnerability allows remote attackers to inject arbitrary code into the application if Content Security Policy (CSP) settings permit it. The issue arises from an incomplete fix for a previous vulnerability (CVE-2018-13055), making it critical for users to address this flaw to prevent potential exploitation.

How To Fix

Minimum fixed version

2.17.1

This is the first release that contains the fix.

composer require mantisbt/mantisbt:2.17.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can implement stricter Content Security Policy (CSP) settings to mitigate the risk of XSS attacks. This can be done by adding the following HTTP header to your web server configuration: Content-Security-Policy: default-src 'self'; script-src 'self';. However, this is not a permanent solution and updating the software is strongly recommended.

Conclusion

The cross-site scripting vulnerability in MantisBT poses a significant risk to users of versions 2.1.0 through 2.17.0. It is crucial to update to the latest version to protect against potential attacks. Implementing temporary workarounds can help mitigate risks, but they should not replace a proper update.

See every vulnerability recorded for mantisbt/mantisbt →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 6.1, indicating a moderate level of severity.

MantisBT versions 2.1.0 through 2.17.0 are affected by this vulnerability.

If exploited, attackers can inject malicious scripts that may compromise user data, session tokens, or perform actions on behalf of users.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.

Yes, the permanent fix is to update MantisBT to version 2.17.1 or later, which addresses the XSS vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for mantisbt/mantisbt.

How To Fix

Minimum fixed version

2.17.1

This is the first release that contains the fix.

composer require mantisbt/mantisbt:2.17.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback