HUSTOJ is Vulnerable to Stored CSV Injection (Formula Injection) in Contest Rank Export
CVE-2026-23873Published 21 Jan 2026, 23:26 UTC
Real-world risk
0.5/ 10Low
Routine
If the vulnerable configuration applies to you: 1.2
PreliminaryFrom the CVSS vector only · confidence low
CVSS
5.2
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| hustojNiche | <= 26.01.01 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- CISA SSVC: proof of concept
EPSS 0.6% chance of exploitation in 30 days (percentile 49), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.189
- Threat T3: Public proof of concept0.950
- 10 × impact 0.3 × prerequisites 0.189 × threat 0.950.539
- Rounded to one decimal between 0.1 and 100.5
Exploitation and evidence timeline
- 21 Jan 2026 Published
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 0.5 (cvss fallback)
Weakness
CWE-1236