Skip to content

hustoj

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?

ProductAffected 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

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededLowA real low-privileged accountFrom the CVSS vector0.60
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.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
  1. Prerequisites multiplied together0.189
  2. Threat T3: Public proof of concept0.950
  3. 10 × impact 0.3 × prerequisites 0.189 × threat 0.950.539
  4. Rounded to one decimal between 0.1 and 100.5

How the score works

Exploitation and evidence timeline

  1. 21 Jan 2026 Published
  2. 3 Dec 2026 CISA SSVC: proof of concept first seen
  3. 3 Dec 2026 Risk 0.5 (cvss fallback)

Weakness

CWE-1236

References

Get alerts for hustoj

Free email or text alerts when a vulnerability in hustoj reaches risk 8 or higher. Nothing else.