---
id: CVE-2023-54399
title: >-
  Hongjing e-HR before 8.2 contains a SQL injection vulnerability in the
  /servlet/codesettree endpoint where the categories query parameter is passed
  to a database query without sanitization after HRMS-encoding is stripped
summary: >-
  Hongjing e-HR before 8.2 contains a SQL injection vulnerability in the
  /servlet/codesettree endpoint where the categories query parameter is passed
  to a database query without sanitization after HRMS-encoding is stripped. An
  unauthentica…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-89
vendor: Hongjing
product: e-HR
affected:
  - e-HR < 8.2
published: '2026-09-18'
updated: '2026-09-22'
sourceUpdated: '2026-09-22T20:53:07.383'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-54399'
references:
  - url: 'https://cn-sec.com/archives/1861976.html'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.cloudsek.com/blog/mozi-resurfaces-as-androxgh0st-botnet-unraveling-the-latest-exploitation-wave
    label: disclosure@vulncheck.com
  - url: 'https://www.cnblogs.com/pursue-security/p/17704093.html'
    label: disclosure@vulncheck.com
  - url: 'https://www.cnvd.org.cn/flaw/show/CNVD-2023-08743'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/hongjing-e-hr-sql-injection-via-servlet-codesettree
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
  - exploit-available
epss: 0.00416
epssPercentile: 0.33273
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2026-09-21T15:47:53.834623Z'
ingestedAt: '2026-09-18T19:49:30.580Z'
---

## Overview

Hongjing e-HR before 8.2 contains a SQL injection vulnerability in the /servlet/codesettree endpoint where the categories query parameter is passed to a database query without sanitization after HRMS-encoding is stripped. An unauthenticated remote attacker can supply a crafted UNION SELECT payload to read arbitrary database content, including credential tables such as operuser. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-14.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
