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-100880 Overview
CVE-2026-100880 is a stored cross-site scripting (XSS) vulnerability affecting zhistaredu StarTraining up to version 3.8.1. The flaw resides in the upload endpoint component, specifically in du-common/src/main/java/com/edu/common/utils/file/MimeTypeUtils.java. An authenticated attacker can manipulate the File argument to inject malicious script content that executes in the browser of any user who later views the uploaded file. The vulnerability is categorized under CWE-79 (Improper Neutralization of Input During Web Page Generation). A public exploit disclosure exists, and the vendor did not respond to coordinated disclosure attempts.
Critical Impact
Attackers with low-privilege access can upload HTML files containing JavaScript payloads that execute in victim browsers, enabling session theft or defacement.
Affected Products
- zhistaredu StarTraining versions up to and including 3.8.1
- Component: Upload Endpoint (MimeTypeUtils.java)
- Deployments exposing the StarTraining file upload functionality to authenticated users
Discovery Timeline
- 2026-09-27 - CVE-2026-100880 published to NVD
- 2026-09-28 - Last updated in NVD database
Technical Details for CVE-2026-100880
Vulnerability Analysis
The vulnerability exists in the MIME type validation logic within MimeTypeUtils.java. The upload endpoint fails to properly neutralize the content and type of files submitted through the File parameter. When an attacker uploads a crafted HTML file containing embedded JavaScript, the server stores it without stripping active content or forcing a safe content disposition. When a victim later accesses the uploaded resource, the browser renders the HTML and executes the attacker-controlled script in the application's origin.
Stored XSS of this class allows adversaries to steal session cookies, perform actions as the victim, or stage further client-side attacks against instructors and students using the platform.
Root Cause
The root cause is inadequate MIME type enforcement and missing output sanitization in the file upload pipeline. The MimeTypeUtils helper does not restrict uploads to a safe allowlist of non-executable content types, nor does it serve uploaded files with Content-Disposition: attachment or a sandboxed content type. This permits HTML files to be stored and later rendered inline by the browser.
Attack Vector
Exploitation requires network access to the application and a low-privileged authenticated session, with limited user interaction to trigger the payload. The attacker uploads an HTML file containing a <script> payload through the vulnerable endpoint. Any authenticated user who opens the URL to the uploaded file triggers script execution in their browser session. A public proof of concept is referenced in the GitHub Security Advisory ST-VULN-006 and VulDB entry for CVE-2026-100880.
Detection Methods for CVE-2026-100880
Indicators of Compromise
- Uploaded files with .html, .htm, .svg, or .xhtml extensions in the StarTraining file storage directory
- Server responses serving user-uploaded content with Content-Type: text/html instead of application/octet-stream
- Unexpected outbound requests from browsers viewing training materials, indicating script-driven data exfiltration
Detection Strategies
- Review web server access logs for POST requests to the StarTraining upload endpoint followed by GET requests to the stored file path
- Scan the upload directory for files whose magic bytes or embedded content contain <script>, onerror=, or javascript: strings
- Deploy content security policy (CSP) violation reporting to surface inline script execution attempts in the application origin
Monitoring Recommendations
- Alert on uploads where the declared MIME type conflicts with the detected file signature
- Monitor for session anomalies such as cookie exfiltration patterns originating from authenticated StarTraining users
- Track account activity for low-privileged users performing abnormal volumes of file uploads
How to Mitigate CVE-2026-100880
Immediate Actions Required
- Restrict the StarTraining upload endpoint to a strict allowlist of non-renderable file types until a patch is available
- Configure the web server to serve all user-uploaded content with Content-Disposition: attachment and X-Content-Type-Options: nosniff
- Audit existing uploads for HTML or SVG files containing script content and quarantine suspicious artifacts
Patch Information
No vendor patch has been published. According to the disclosure record, the vendor was contacted but did not respond. Operators should track the VulDB vulnerability record #410810 and the GitHub Security Advisory ST-VULN-006 for remediation updates.
Workarounds
- Place the StarTraining application behind a web application firewall (WAF) rule that blocks uploads containing HTML markup or script tags
- Isolate user-uploaded content on a separate domain or sandboxed subdomain to limit cookie exposure in the primary application origin
- Apply a restrictive Content Security Policy that disallows inline scripts and limits script sources to trusted origins
# Nginx configuration example to force safe handling of uploaded files
location /uploads/ {
add_header X-Content-Type-Options "nosniff" always;
add_header Content-Security-Policy "default-src 'none'; sandbox;" always;
add_header Content-Disposition "attachment" always;
types { } default_type application/octet-stream;
}
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

