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.
References
Link Resource
https://github.com/zhblue/hustoj/security/advisories/GHSA-gqwv-v7vx-2qjw Exploit Mitigation Vendor Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:hustoj:hustoj:*:*:*:*:*:*:*:*

History

17 Jun 2026, 10:22

Type Values Removed Values Added
Summary
  • (es) hustoj es un juez en línea de código abierto basado en PHP/C++/MySQL/Linux para el entrenamiento de ACM/ICPC y NOIP. Todas las versiones son vulnerables a la inyección CSV (inyección de fórmulas) a través de la funcionalidad de exportación de clasificación de concursos (contestrank.xls.php y admin/ranklist_export.php). La aplicación no logra sanear la entrada proporcionada por el usuario (específicamente el campo 'Nickname') antes de exportarla a un archivo .xls (que se renderiza como una tabla HTML pero es abierto por Excel). Si un usuario malicioso establece su apodo a una fórmula de Excel cuando un administrador exporta y abre la lista de clasificación en Microsoft Excel, la fórmula será ejecutada. Esto puede llevar a la ejecución arbitraria de comandos (RCE) en la máquina del administrador o a la exfiltración de datos. Una solución no estaba disponible en el momento de la publicación.

27 Feb 2026, 15:02

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.0
CPE cpe:2.3:a:hustoj:hustoj:*:*:*:*:*:*:*:*
References () https://github.com/zhblue/hustoj/security/advisories/GHSA-gqwv-v7vx-2qjw - () https://github.com/zhblue/hustoj/security/advisories/GHSA-gqwv-v7vx-2qjw - Exploit, Mitigation, Vendor Advisory
First Time Hustoj
Hustoj hustoj

22 Jan 2026, 00:15

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-22 00:15

Updated : 2026-06-17 10:22


NVD link : CVE-2026-23873

Mitre link : CVE-2026-23873

CVE.ORG link : CVE-2026-23873


JSON object : View

Products Affected

hustoj

  • hustoj
CWE
CWE-1236

Improper Neutralization of Formula Elements in a CSV File