openDCIM through 23.04 allows SQL injection in people_depts.php because prepared statements are not used.