Hustoj
CVE-2026-23873
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRegister account with formula in Nickname field
-
ExploitAdministrator exports contest rank list
-
ExecutionExcel interprets formula during file open
-
ImpactArbitrary code execution in Excel context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V1 - Encoding and Sanitization CSV injection prevention
|
| Exploitation Conditions | Authenticated user account required to set malicious Nickname field. Administrator must export rank list via contestrank.xls.php or admin/ranklist_export.php and open exported .xls file in Microsoft Excel with formula execution enabled. |
| Impact | CVSS 9.0 with PoC. HUSTOJ is used by universities and competitive programming communities. Administrators regularly export submission data, making exploitation likely. |
| Exploit ScenarioDerived | A participant submits a solution containing a CSV formula payload in the username or code comments. When an admin exports results to CSV and opens in Excel, the formula executes, potentially stealing credentials or installing malware. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 12, 2026
HUSTOJ online judge system has a CSV injection vulnerability in all versions that allows code execution through crafted submissions exported to spreadsheets.
Earlier versions of this analysis (1)
CSV injection in HUSTOJ online judge enables code execution through exported data.
RemediationAI
Sanitize CSV exports by prefixing cells with a single quote. Update HUSTOJ when patches are available.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
HUSTOJ (all versions) fails to sanitize user-submitted content (CWE-1236) when exporting data to CSV format. Malicious formula injections (e.g., =CMD()) execute when administrators open exported spreadsheets in Excel or LibreOffice.
Know when Hustoj gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
hustoj is an open source online judge based on PHP/C++/MySQL/Linux for ACM/ICPC and NOIP training. All versions are vulnerable to CSV Injection (Formula Injection) through the contest rank export functionality (contestrank.xls.php and admin/ranklist_export.php). The application fails to sanitize user-supplied input (specifically the "Nickname" field) before exporting it to an .xls file (which renders as an HTML table but is opened by Excel). If a malicious user sets their nickname to an Excel formula when an administrator exports and opens the rank list in Microsoft Excel, the formula will be executed. This can lead to arbitrary command execution (RCE) on the administrator's machine or data exfiltration. A fix was not available at the time of publication.
Executive ViewAI
Organizations using hustoj face critical risk from CVE-2026-23873 rated CVSS 9.0. Successful exploitation could critically impact the confidentiality, integrity, and availability of affected systems. Proof-of-concept code is publicly available, increasing the risk of exploitation. Organizations should apply vendor updates immediately when available and implement compensating controls in the interim.
Apply vendor patch. If immediate patching is not feasible: (1) Implement network-level access controls to limit exposure; (2) Enable enhanced monitoring and alerting; (3) Apply principle of least privilege.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Affected Products (CPE)GitHub Advisory
HUSTOJ online judge has a path traversal vulnerability enabling arbitrary file access on the competition server.
Hustoj 22.09.22 has a XSS Vulnerability in /admin/problem_judge.php. Rated medium severity (CVSS 6.1), this vulnerabilit
Cross site scripting (XSS) vulnerability in Hustoj 2025-01-31 via the TID parameter to thread.php. Rated medium severity
NVD
CVE.org
EPSS
GitHub
Exploit-DB