CVE-2026-23873
published medium CVSS 4.0 · 5.2HUSTOJ is Vulnerable to Stored CSV Injection (Formula Injection) in Contest Rank Export
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| zhblue | — | hustoj<= 26.01.01 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.2 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| zhblue | hustoj | <= 26.01.01 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-1236 CWE-1236: Improper Neutralization of Formula Elements in a CSV File
References
1Provider assertions
2GitHub_M · cna
HUSTOJ is Vulnerable to Stored CSV Injection (Formula Injection) in Contest Rank Export
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1068e94f4b3abbd99a986ee51d03a1cff47e0f2d590cb69cd49c86cc588bf58f
- Ingested
- 23 Sep 2026, 09:06:03 UTC
- Source record
- Official CVE record