Codeastro Human Resource Management System
An issue exists in the Update Earn Leave endpoint where the `emselectByCode()` function within the `application/models/Employee model.php` file does not properly handle the `emid` argument. This allows a remote attacker to perform SQL injection, a technique used to execute malicious SQL statements that can manipulate a database.