CVE-2025-40682CWE-89

SQL injection vulnerability in Human Resource Management System

High · published July 29, 2025

CVSS v4.0
8.7
EPSS
0%
Percentile
24.2
In the wild
Unconfirmed
What it is

⚡ A crafty SQL injection lurks in Human Resource Management System 1.0, letting attackers manipulate your entire database just by tampering with two innocent-looking parameters! Think of it like a restaurant that allows you to change your order without checking your table number. By altering the ‘city’ and ‘state’ on the order form, you could essentially access the kitchen and decide what ingredients to use — or even change the recipe entirely! An attacker could retrieve, create, update, or delete any database entry, leading to unauthorized access to sensitive HR data. This could mean leaking personal employee information or even wiping out critical records entirely — a nightmare scenario for any organization!

Put simply

Think of it like a restaurant that allows you to change your order without checking your table number. By altering the ‘city’ and ‘state’ on the order form, you could essentially access the kitchen and decide what ingredients to use — or even change the recipe entirely! This SQL injection vulnerability in the /controller/ccity.php endpoint allows attackers to execute commands on the database through improperly validated input fields for ‘city’ and ‘state’. Without proper sanitization, they can manipulate database queries to gain unauthorized control.

What to do

An attacker could retrieve, create, update, or delete any database entry, leading to unauthorized access to sensitive HR data. This could mean leaking personal employee information or even wiping out critical records entirely — a nightmare scenario for any organization! Immediately update to a secured version of the Human Resource Management System, ensuring all input parameters are properly sanitized and validated. Implement prepared statements to safeguard against SQL injection attacks. Review your application’s overall security posture while you’re at it! This is fixable! Follow these steps, and you'll have your database locked down tighter than a clam! 🛡️

The record
Technical detail
CVSS v4.0
8.7 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS
0.00324 · 24.2th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2025-07-29T12:10Z
EPSS history
Timeline
  • 29 JUL 12:10Z
    SQL injection vulnerability in Human Resource Management System
    cvelistv5