Skip to main content
Vulnerability Database/CVE-2026-102372

CVE-2026-102372: GestSup IMAP Connector XSS Vulnerability

CVE-2026-102372 is a stored cross-site scripting vulnerability in GestSup IMAP LOGIN connector that allows attackers to inject malicious scripts via email. This post covers technical details, affected versions, and mitigation.

Published:

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-102372 Overview

CVE-2026-102372 is a stored Cross-Site Scripting (XSS) vulnerability [CWE-79] in GestSup versions before 3.2.61. The flaw resides in the IMAP LOGIN connector, which fails to properly sanitize HTML email bodies before storing them as ticket descriptions and replies. Unauthenticated attackers can send crafted emails to the monitored mailbox containing script tags and event handlers. The injected JavaScript executes in technician browsers when they view the ticket, enabling session theft and unauthorized actions on behalf of authenticated support staff.

Critical Impact

Unauthenticated attackers can inject persistent JavaScript into GestSup tickets by emailing the monitored inbox, leading to technician account compromise and data theft.

Affected Products

  • GestSup versions before 3.2.61
  • GestSup IMAP LOGIN connector component
  • Ticket description and reply rendering interfaces

Discovery Timeline

  • 2026-09-29 - CVE-2026-102372 published to NVD
  • 2026-09-30 - Last updated in NVD database

Technical Details for CVE-2026-102372

Vulnerability Analysis

GestSup ingests emails from a monitored mailbox via its IMAP LOGIN connector and converts them into support tickets. The connector accepts HTML email bodies and stores them without stripping active content such as <script> tags or DOM event handlers like onerror and onload. When a technician opens the resulting ticket in the web interface, the stored payload renders inside the authenticated session context. Because the injection sink is the ticket body itself, the payload persists across sessions and affects every user who views the ticket.

Root Cause

The root cause is missing output encoding and insufficient HTML sanitization within the IMAP intake pipeline. The connector treats inbound email HTML as trusted markup rather than untrusted user input. No allowlist-based sanitizer strips scripting constructs before persistence, and the ticket viewer renders the stored HTML without contextual escaping.

Attack Vector

Exploitation requires no authentication and no prior access to the GestSup instance. An attacker sends an email to the address monitored by the IMAP connector with an HTML body containing JavaScript. When the mail is polled and converted into a ticket, the payload is stored verbatim. The script executes in a technician's browser during triage, allowing the attacker to read ticket contents, exfiltrate session tokens, or perform actions the technician is authorized to invoke. The referenced VulnCheck advisory and public write-up describe chaining this XSS toward higher-impact outcomes.

See the VulnCheck Advisory on GestSup and the SPIIZN research write-up for exploitation details.

Detection Methods for CVE-2026-102372

Indicators of Compromise

  • Inbound emails to the monitored GestSup mailbox containing <script>, javascript: URIs, or HTML event handlers such as onerror, onload, or onmouseover.
  • Ticket descriptions or replies containing unexpected HTML markup, encoded script fragments, or references to external attacker-controlled domains.
  • Outbound requests from technician browsers to unknown domains immediately after opening a ticket.

Detection Strategies

  • Inspect IMAP-ingested messages for HTML bodies containing scripting constructs before they are persisted as tickets.
  • Deploy Content Security Policy (CSP) violation reporting on the GestSup web interface to surface inline script execution attempts.
  • Correlate technician web sessions with anomalous API calls or ticket modifications originating shortly after ticket views.

Monitoring Recommendations

  • Enable verbose logging on the GestSup IMAP connector and review new ticket creation events for suspicious HTML content.
  • Monitor web server access logs for unusual request patterns tied to authenticated technician accounts.
  • Alert on any egress traffic from technician workstations to domains referenced inside ticket bodies.

How to Mitigate CVE-2026-102372

Immediate Actions Required

  • Upgrade GestSup to version 3.2.61 or later using the official patch package.
  • Audit existing tickets ingested via the IMAP LOGIN connector for stored HTML payloads and quarantine suspicious entries.
  • Reset session tokens and credentials for technician accounts that may have viewed malicious tickets.

Patch Information

The vendor released a fix in GestSup 3.2.61. Download the patch from the GestSup Patch 3.2.61 page and consult the GestSup Changelog for release notes. Later releases, including 3.2.62, continue to harden the IMAP intake path per the VulnCheck advisory.

Workarounds

  • Temporarily disable the IMAP LOGIN connector until the patch can be applied.
  • Restrict the monitored mailbox to allowlisted sender domains at the mail gateway to reduce exposure to arbitrary senders.
  • Enforce a strict Content Security Policy on the GestSup web interface to block inline script execution in technician browsers.
bash
# Configuration example: verify installed GestSup version
grep -R "version" /var/www/gestsup/includes/version.php

# Apply the vendor patch (adjust paths to your deployment)
cd /var/www/gestsup
wget "https://gestsup.fr/index.php?page=download&channel=stable&version=3.2.61&type=patch" -O gestsup-3.2.61.patch
# Follow vendor changelog instructions to apply the patch archive

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

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.