Vulnerability in Hustoj
CVE-2026-23873
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.006 (45.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 46th percentile — 45.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.006 · change: +0.001
Affected products
- Hustoj
- Zhblue Hustoj — versions <= 26.01.01
Weakness classification (CWE)
References
- github.com/zhblue/hustoj/security/advisories/GHSA-gqwv-v7vx-2qjw (Exploit, Mitigation, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-23873?
- CVE-2026-23873 is a critical-severity vulnerability in Hustoj, classified under Improper Neutralization of Formula Elements in a CSV File. CVSS score: 9.0/10. Published 2026-01-22.
- How severe is CVE-2026-23873?
- Critical severity. CVSS v3 base score is 9.0 out of 10.