CVE-2026-23873

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

State
Published
Severity
5.2 Medium
Published
Jan 21, 2026
Updated
Jan 22, 2026
Reserved
Jan 16, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.2 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:HGitHub_M

Weaknesses

  • CWE-1236 Improper Neutralization of Formula Elements in a CSV File

Affected Products

ProductVersions
hustojzhblue
  • <= 26.01.01Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.