A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-39960

CVE-2026-39960: Mantis Bug Tracker (MantisBT) XSS Vulnerability

CVE-2026-39960 is a cross-site scripting flaw in Mantis Bug Tracker that enables attackers to inject malicious scripts through textarea custom fields, potentially leading to session theft and admin takeover. This article covers technical details, affected versions, impact, and mitigation steps.

Published: May 21, 2026

CVE-2026-39960 Overview

CVE-2026-39960 is a stored Cross-Site Scripting (XSS) vulnerability [CWE-79] in Mantis Bug Tracker (MantisBT), an open source issue tracking system. Versions 2.28.1 and earlier improperly escape textarea custom field contents on the Update Issue page (bug_update_page.php). An authenticated user with bug report permission can inject HTML and, if the Content-Security Policy (CSP) allows it, execute arbitrary JavaScript when other users load the bug edit form. Successful exploitation enables session theft, leading to administrator account takeover and full project data access. The issue is fixed in MantisBT version 2.28.2.

Critical Impact

A low-privileged authenticated attacker can hijack administrator sessions and access all project data by injecting malicious script into a textarea custom field rendered on the issue update page.

Affected Products

  • Mantis Bug Tracker (MantisBT) versions 2.28.1 and below
  • Deployments where a textarea-type custom field is configured for a project
  • Instances running with non-default Content-Security Policy that permits script execution

Discovery Timeline

  • 2026-05-20 - CVE-2026-39960 published to NVD
  • 2026-05-20 - Last updated in NVD database

Technical Details for CVE-2026-39960

Vulnerability Analysis

The flaw resides in the rendering logic for textarea-type custom fields on the Update Issue page (bug_update_page.php). MantisBT fails to properly escape user-supplied content stored in these fields before rendering it back into HTML. As a result, an attacker can submit a value containing HTML or JavaScript payloads that the application reflects without sanitization.

The vulnerability is classified as Cross-Site Scripting [CWE-79]. The attack requires authentication and user interaction, since the malicious payload triggers only when another user opens the bug edit form. The scope is changed because injected script executes in the browser context of any user viewing the affected issue, including administrators.

Impact includes session cookie theft, forced actions in the victim's session, and ultimately administrator account takeover. Once an administrator session is compromised, the attacker gains full project data access.

Root Cause

The root cause is improper output encoding of textarea custom field values. MantisBT's logic in bug_update_page.php renders stored field contents without applying the HTML-escaping routines used elsewhere in the application. This breaks the assumption that user-supplied custom field data is rendered as text rather than markup.

Attack Vector

An attacker with low-privileged bug report permission creates or edits an issue containing a malicious payload in a textarea custom field. When any user, including an administrator, opens the issue update page, the browser parses and executes the injected HTML or JavaScript. The attack vector is network-based and requires user interaction.

No verified exploit code is publicly available. For technical specifics, refer to the GitHub Security Advisory GHSA-qj6w-v29q-4rgx and the GitHub Commit Update implementing the fix.

Detection Methods for CVE-2026-39960

Indicators of Compromise

  • Textarea custom field values containing HTML tags such as <script>, <img onerror=...>, or <svg onload=...>.
  • Unexpected outbound HTTP requests from administrator browsers shortly after viewing an issue update page.
  • Session reuse from unfamiliar IP addresses immediately following access to a bug containing untrusted custom field data.

Detection Strategies

  • Audit MantisBT database tables storing custom field values for entries containing HTML markup or JavaScript event handlers.
  • Review web server access logs for bug_update_page.php requests followed by anomalous administrative actions in the same session.
  • Inspect Content-Security-Policy response headers to confirm whether the deployment runs the default restrictive CSP.

Monitoring Recommendations

  • Monitor browser-side errors or CSP violation reports from MantisBT users to surface attempted script execution.
  • Alert on creation or modification of custom field definitions of type textarea in projects that did not previously use them.
  • Track administrator session activity for actions originating from clients that recently loaded issues authored by low-privileged users.

How to Mitigate CVE-2026-39960

Immediate Actions Required

  • Upgrade MantisBT to version 2.28.2, which contains the official fix for CVE-2026-39960.
  • Verify that the default Content-Security Policy is enforced and not weakened by custom headers or reverse proxy configuration.
  • Review existing textarea custom field values for stored payloads and sanitize or remove entries containing HTML or script content.

Patch Information

The vulnerability is fixed in MantisBT 2.28.2. The corrective change is documented in the GitHub Commit Update and explained in the GitHub Security Advisory GHSA-qj6w-v29q-4rgx. Administrators should apply the upgrade promptly, particularly on internet-exposed instances or those used by multiple project teams.

Workarounds

  • Retain the default Content-Security Policy shipped with MantisBT, which blocks inline and arbitrary script execution.
  • Temporarily remove or disable textarea-type custom fields in projects where untrusted users can submit bug reports.
  • Restrict bug report permissions to vetted accounts until the patch can be applied.
bash
# Configuration example: confirm default CSP is active in config_inc.php
# (Do not override $g_content_security_policy_directive with a permissive value)
grep -n "content_security_policy" /path/to/mantisbt/config/config_inc.php

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechMantisbt

  • SeverityMEDIUM

  • CVSS Score5.4

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-qj6w-v29q-4rgx
  • Related CVEs
  • CVE-2026-33517: MantisBT Tag Deletion XSS Vulnerability

  • CVE-2026-33548: MantisBT Timeline XSS Vulnerability

  • CVE-2026-34579: MantisBT Authorization Bypass Vulnerability

  • CVE-2026-34744: MantisBT Information Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English