{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-23873 exists.","fix":"No fix has been published for CVE-2026-23873 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-23873 is a medium-severity code injection vulnerability in zhblue hustoj, published on 21 Jan 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-23873 and fix it if it is affected.\n\nWhat it is: CVE-2026-23873 is a medium-severity code injection vulnerability in zhblue hustoj, published on 21 Jan 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-23873 exists.\n\nAffected product: zhblue hustoj. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-23873/ (Markdown: https://insights.sbomify.com/CVE-2026-23873/index.md)","id":"CVE-2026-23873","markdown":"https://insights.sbomify.com/CVE-2026-23873/index.md","name":"CVE-2026-23873","record":{"aliases":["GHSA-gqwv-v7vx-2qjw"],"analysis":{"component_type":"web_application","fix_type":"no_fix_stated","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Online Judge System","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary commands or exfiltrate data on an administrator's machine by injecting Excel formulas into user nicknames exported to CSV.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"hustoj","vendor":"hustoj"}],"cvss":{"score":5.2,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-1236","name":"Improper Neutralization of Formula Elements in a CSV File"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"HUSTOJ is Vulnerable to Stored CSV Injection (Formula Injection) in Contest Rank Export","id":"CVE-2026-23873","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"ImageMagick's MSL: Stack overflow via infinite recursion in ProcessMSLScript","id":"CVE-2026-23874"},"packages":[],"prev":{"headline":"Facebook React has a Denial of Service Vulnerability in React Server Components","id":"CVE-2026-23870"},"products":["hustoj"],"published":"2026-01-21","related":[{"cvss_score":9.3,"headline":"HUSTOJ has Arbitrary File Write (Zip Slip) in Problem Import Modules that leads to RCE","id":"CVE-2026-24479","kev_date_added":null,"published":"2026-01-27"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2025-50938","kev_date_added":null,"published":"2025-08-19"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2022-42187","kev_date_added":null,"published":"2022-11-17"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-01-22","vendors":["zhblue"]},"summary":"Attackers can execute arbitrary commands or exfiltrate data on an administrator's machine by injecting Excel formulas into user nicknames exported to CSV.","url":"https://insights.sbomify.com/CVE-2026-23873/"}