Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Network-reachable SQL injection with no auth or interaction per the report (PR:N/UI:N/AC:L); read and write of DB data give C:H/I:H, with no availability impact (A:N).
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
SourceCodester Payroll Management and Information System v1.0 is vulnerable to SQL Injection in the file /payroll/view_employee.php.
AnalysisAI
SQL injection in SourceCodester Payroll Management and Information System v1.0 lets remote unauthenticated attackers manipulate backend database queries through the /payroll/view_employee.php endpoint. The flaw exposes confidential employee and payroll data and permits tampering with stored records. Publicly available exploit code exists (community vulnerability report), though EPSS remains very low (0.03%, 10th percentile) and it is not listed in CISA KEV.
Technical ContextAI
The affected component is a PHP web application (SourceCodester Payroll Management and Information System) that builds SQL statements against its backend database, almost certainly MySQL/MariaDB given the SourceCodester stack. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), meaning user-controllable input reaching /payroll/view_employee.php (typically an employee record identifier passed via request parameter) is concatenated into a SQL query without parameterization or adequate sanitization. Because the injection sits in a data-retrieval page, an attacker can use UNION-based or boolean/time-based techniques to read and modify arbitrary tables. EUVD lists affected versions as 'n/a n/a', so precise CPE strings are not published; the vendor reference identifies only the v1.0 release.
RemediationAI
No vendor-released patch identified at time of analysis; SourceCodester applications are commonly distributed as source with infrequent maintenance, so a fixed release may not exist. The definitive fix is to rewrite the query in /payroll/view_employee.php to use parameterized queries/prepared statements (PDO or mysqli with bound parameters) and to cast/validate the employee identifier as an integer. Until a code fix is applied, apply compensating controls: place the application behind a WAF with SQL-injection signatures targeting the view_employee.php parameter (trade-off: signature bypasses are possible), restrict network access to the /payroll/ path to trusted internal users or VPN only (trade-off: breaks legitimate remote access), and enforce least-privilege database credentials so the web account cannot read or write beyond required tables (trade-off: limits data exposure but does not stop the injection itself). Review the referenced report (https://github.com/mt-0505/cve-report/blob/main/sourcecodester/payroll-management-and-information-system/SQL-2.md) and the VulDB entry (https://vuldb.com/vuln/357944) to identify the exact injectable parameter for precise blocking rules.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Same weakness CWE-89 – SQL Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-23266
GHSA-fpjj-7r25-62gj