| Title | jeecgboot JeecgBoot 3.9.4 SQL Injection (CWE-89) |
|---|
| Description | JeecgBoot up to and including 3.9.4 contains an authenticated SQL injection in SysDictServiceImpl.queryTableDataForLinkRecord (endpoint
/sys/dict/queryTableDataForLinkRecord). The keyValues parameter is only quote-doubled and comma-split before being concatenated into an
SQL IN(...) fragment substituted via MyBatis ${} interpolation. The JSqlParser-based validator does not treat backslash as an escape
character while MySQL does, so a keyValues value of a\,') <SQL> # breaks out of the IN list. Any authenticated user can perform
boolean-based and time-based blind SQL injection and extract arbitrary database content. Fixed in 3.9.5 (commit 7af725ca) by replacing
concatenation with parameter binding. |
|---|
| Source | ⚠️ https://github.com/jeecgboot/JeecgBoot/commit/7af725ca277af3872fc3b93797c383be77252c72 |
|---|
| User | str3ct (UID 102956) |
|---|
| Submission | 11/12/2026 10:09 (22 days ago) |
|---|
| Moderation | 12/04/2026 12:27 (22 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 449690 [JeecgBoot up to 3.9.5 Dictionary Table Query SysDictServiceImpl.java queryTableDataForLinkRecord keyValues sql injection] |
|---|
| Points | 20 |
|---|