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

CVE-2026-108799: jackq XCMS SQL Injection Vulnerability

CVE-2026-108799 is a SQL injection vulnerability in jackq XCMS affecting the password recovery mail endpoint. Attackers can exploit the email parameter remotely to execute unauthorized SQL commands. This article covers technical details, affected versions, security impact, and mitigation strategies.

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-108799 Overview

CVE-2026-108799 is a SQL injection vulnerability in jackq XCMS affecting commits up to 3fab5342cc509945a7ce1b8ec39d19f701b89261. The flaw resides in the PublicController::sendFindPwdMail function within Admin/Home/Controller/PublicController.class.php, which handles the password recovery mail endpoint. Attackers can manipulate the email argument to inject arbitrary SQL statements. The vulnerability is remotely exploitable without authentication or user interaction, and the exploit has been publicly disclosed. The weakness is classified under [CWE-74] (Improper Neutralization of Special Elements in Output Used by a Downstream Component).

Critical Impact

Unauthenticated remote attackers can inject SQL through the password recovery endpoint, enabling data disclosure, modification, or deletion within the XCMS backend database.

Affected Products

  • jackq XCMS up to commit 3fab5342cc509945a7ce1b8ec39d19f701b89261
  • Component: Password Recovery Mail Endpoint (Admin/Home/Controller/PublicController.class.php)
  • Function: PublicController::sendFindPwdMail

Discovery Timeline

  • 2026-10-12 - CVE-2026-108799 published to NVD
  • 2026-10-13 - Last updated in NVD database

Technical Details for CVE-2026-108799

Vulnerability Analysis

The vulnerability exists in the password recovery workflow of jackq XCMS. The sendFindPwdMail method in PublicController.class.php accepts an email parameter from client requests and incorporates it into a SQL query without proper sanitization or parameterization. Attackers submitting crafted email values can break out of the intended query context and append arbitrary SQL clauses.

Because the endpoint is reachable before authentication (password recovery flows are inherently pre-auth), no credentials are required. The attack surface spans any network-reachable instance of XCMS exposing the admin password recovery route.

Root Cause

The root cause is improper neutralization of user-supplied input before use in a SQL statement [CWE-74]. The email argument is passed into a database query without prepared statements or input validation sufficient to prevent SQL metacharacters from altering query structure.

Attack Vector

Exploitation requires sending an HTTP request to the password recovery mail endpoint with a malicious email parameter. The request requires no prior authentication, no user interaction, and can be delivered over the network. Successful exploitation permits reading, modifying, or deleting data stored in the XCMS database, including credentials and configuration data referenced by the recovery flow.

Technical details for the vulnerability are available in the public GitHub CVE Report and the VulDB entry for CVE-2026-108799.

Detection Methods for CVE-2026-108799

Indicators of Compromise

  • HTTP POST or GET requests to the XCMS admin password recovery endpoint containing SQL metacharacters (single quotes, UNION, SELECT, --, /*) in the email parameter.
  • Database error messages or anomalous response sizes returned from sendFindPwdMail requests.
  • Password reset emails triggered for accounts the attacker should not know about, or an unusual volume of recovery requests from a single source.

Detection Strategies

  • Deploy web application firewall (WAF) rules that inspect the email parameter on password recovery routes for SQL injection payloads.
  • Enable database query logging and alert on queries originating from PublicController.class.php that contain unexpected clauses such as UNION SELECT or tautologies like OR 1=1.
  • Correlate web server access logs with database errors to surface injection attempts that bypass surface-level filters.

Monitoring Recommendations

  • Monitor rate and distribution of requests to the password recovery endpoint and alert on bursts from a single IP or user agent.
  • Instrument the PHP application to log all parameter values submitted to sendFindPwdMail for forensic review.
  • Track outbound database traffic volume for unusual increases consistent with data exfiltration via blind SQL injection.

How to Mitigate CVE-2026-108799

Immediate Actions Required

  • Restrict network access to the XCMS admin password recovery endpoint using IP allowlisting or a reverse proxy until a patched build is deployed.
  • Deploy WAF signatures that block SQL injection patterns targeting the email parameter on PublicController routes.
  • Audit XCMS database accounts and rotate credentials that may have been exposed through the vulnerable endpoint.

Patch Information

No official vendor patch is referenced in the published advisory. Operators should monitor the jackq XCMS repository and the VulDB vulnerability record #416576 for remediation guidance. Until an upstream fix is available, apply code-level mitigations by refactoring sendFindPwdMail to use parameterized queries or prepared statements for the email argument.

Workarounds

  • Modify PublicController::sendFindPwdMail to validate the email argument against a strict email format regex before any database interaction.
  • Replace string-concatenated SQL with parameterized queries or an ORM binding so user input cannot alter query structure.
  • Temporarily disable the password recovery endpoint if business processes allow, routing recovery requests through a manual administrator workflow.
bash
# Example WAF rule (ModSecurity) blocking SQLi patterns on the recovery endpoint
SecRule REQUEST_URI "@contains /Admin/Home/Public/sendFindPwdMail" \
  "chain,id:1082026108799,phase:2,deny,status:403,log,msg:'XCMS CVE-2026-108799 SQLi attempt'"
  SecRule ARGS:email "@rx (?i)(union\s+select|or\s+1=1|--|/\*|\bsleep\s*\()" "t:none"

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.