CVE-2026-23873

CVE-2026-23873 is a critical-severity vulnerability in Hustoj with a CVSS 3.x base score of 9.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-1236.

Key facts

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.

Frequently asked questions

What is 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.
How severe is CVE-2026-23873?
CVE-2026-23873 has a CVSS 3.x base score of 9.0, rated critical severity. It is exploitable over network with low attack complexity, requires low privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2026-23873 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (40th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2026-23873?
CVE-2026-23873 affects Hustoj. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2026-23873?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
Does CVE-2026-23873 have an EU (EUVD) identifier?
Yes. CVE-2026-23873 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-4200.
When was CVE-2026-23873 published?
CVE-2026-23873 was published on 2026-01-22 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Hustoj

All CVEs affecting Hustoj →

Other CWE-1236 (Improper Neutralization of Formula Elements in a CSV File) vulnerabilities

Browse all CWE-1236 (Improper Neutralization of Formula Elements in a CSV File) vulnerabilities →