CVE-2026-23873CWE-1236

HUSTOJ is Vulnerable to Stored CSV Injection (Formula Injection) in Contest Rank Export

Medium · published January 21, 2026

CVSS v4.0
5.2
EPSS
1%
Percentile
46.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
5.2 · MEDIUM
Vector
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
EPSS
0.00569 · 46.4th percentile
Weakness
CWE-1236 · Improper Neutralization of Formula Elements in a CSV File
Published
2026-01-21T23:26Z
EPSS history
Timeline
  • 21 JAN 23:26Z
    HUSTOJ is Vulnerable to Stored CSV Injection (Formula Injection) in Contest Rank Export
    cvelistv5