Daptin <= 0.12.29 - SQL Injection
Daptin 0.12.29 and earlier contains an unauthenticated SQL injection in the sort query parameter of the generic entity list endpoint (GET /api/<entity>). PaginatedFindAllWithoutFilters passes each sort value to goqu.I() without checking that the column exists, and the backtick quote character is not escaped, so a backtick in sort closes the identifier and the rest of the value is parsed as SQL.
PoC 已收录Daptin
CVSS—EPSS 2.3%