Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Impact | The risk profile presents conflicting signals requiring careful analysis: CVSS 7.3 indicates medium-to-high severity with network-accessible exploitation (AV:N), low attack complexity (AC:L), no privilege requirements (PR:N), and no user interaction needed (UI:N). However, the impact is limited to confidentiality, integrity, and availability at 'Low' (C:L/I:L/A:L), which is inconsistent with typical SQL injection scoring. The public disclosure and available POC significantly increase exploitation probability. Despite the CVSS score being 7.3, the practical risk is substantially higher given: (1) unauthenticated remote access, (2) public POC availability, (3) legacy application architecture suggesting minimal security controls, (4) SQL injection's automatable nature (high SSVC automatable score). Real-world priority should be elevated above the base CVSS score due to exploitation maturity and accessibility. |
| Exploit ScenarioDerived | An attacker discovers the publicly disclosed POC for CVE-2025-6503 and identifies that a target organization is running code-projects Inventory Management System 1.0. The attacker crafts a malicious HTTP request to /php_action/fetchSelectedCategories.php with categoriesId parameter containing SQL injection payload such as: '1 OR '1'='1' UNION SELECT table_name FROM information_schema.tables--'. Due to the absence of authentication (PR:N) and input validation, this request is processed directly by the PHP backend, executing the attacker's injected SQL. The attacker can then enumerate database structure, extract sensitive data (customer information, inventory details, credentials), modify records, or in worst case drop tables. The low attack complexity (AC:L) and network accessibility mean exploitation can be automated and scaled against multiple vulnerable instances. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 15, 2026
CVE-2025-6503 is a critical SQL injection vulnerability in code-projects Inventory Management System 1.0, specifically in the /php_action/fetchSelectedCategories.php file where the 'categoriesId' parameter is inadequately sanitized. An unauthenticated remote attacker can exploit this vulnerability to execute arbitrary SQL queries, potentially leading to unauthorized data access, modification, or deletion. The exploit has been publicly disclosed and proof-of-concept code is available, significantly elevating exploitation risk in production environments.
RemediationAI
Immediate remediation steps: (1) Implement prepared statements/parameterized queries using mysqli_prepare() or PDO prepared statements in the fetchSelectedCategories.php file; (2) Apply strict input validation using whitelist approach for categoriesId parameter (numeric validation only if categories are referenced by ID); (3) Implement stored procedures with bound parameters if database layer supports; (4) Apply Web Application Firewall (WAF) rules to block SQL injection patterns in the categoriesId parameter as temporary mitigation; (5) Upgrade to a patched version when released by code-projects vendor. Contact code-projects development team for security updates; if no response within 90 days, consider migrating to actively maintained inventory management systems. Implement principle of least privilege for database user credentials used by the application.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability is classified as CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component, also known as 'Injection'), which represents a failure to properly validate and sanitize user-supplied input before incorporating it into SQL queries. The affected component is a PHP file (/php_action/fetchSelectedCategories.php) that likely processes category filtering requests in an inventory management application. The 'categoriesId' parameter is passed directly or with insufficient escaping into SQL query construction, allowing an attacker to inject malicious SQL syntax. This is a classic first-order SQL injection vulnerability in legacy PHP applications that predate parameterized query adoption.
Know when Inventory Management System gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
A vulnerability was found in code-projects Inventory Management System 1.0 and classified as critical. This issue affects some unknown processing of the file /php_action/fetchSelectedCategories.php. The manipulation of the argument categoriesId leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.
Executive ViewAI
An unauthenticated SQL injection vulnerability in the Inventory Management System 1.0 allows attackers to remotely compromise the database, potentially exposing sensitive inventory and business data. With public exploits available and no patch currently available, this poses an immediate risk to any organization running this system.
Implement WAF blocking rules for suspicious SQL syntax in categoriesId parameter; restrict network access to /php_action/fetchSelectedCategories.php to authorized IP ranges only; disable or remove the Inventory Management System if not operationally critical; apply input validation at application layer; monitor database query logs for anomalous activity; consider air-gapping the system until patch is released.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Inventory Management System
View allA vulnerability, which was classified as critical, was found in SourceCodester Inventory Management System 1.0. Rated cr
A vulnerability classified as critical was found in SourceCodester Inventory Management System 1.0. Rated critical sever
A vulnerability, which was classified as critical, has been found in SourceCodester Inventory Management System 1.0.php.
A vulnerability was found in SourceCodester Inventory Management System 1.0 and classified as critical.php. Rated critic
A vulnerability has been found in SourceCodester Inventory Management System 1.0 and classified as critical. Rated criti
Sourcecodester Free and Open Source inventory management system v1.0 is vulnerable to Incorrect Access Control. Rated hi
A vulnerability was found in SourceCodester Free and Open Source Inventory Management System 1.0. Rated high severity (C
A vulnerability, which was classified as critical, was found in SourceCodester Inventory Management System 1.0. Rated hi
A vulnerability classified as critical has been found in SourceCodester Inventory Management System 1.0. Rated critical
A vulnerability has been found in SourceCodester Inventory Management System 1.0 and classified as critical. Rated criti
A vulnerability, which was classified as critical, was found in SourceCodester Inventory Management System 1.0. Rated cr
A vulnerability was found in SourceCodester Inventory Management System 1.0 and classified as critical.php. Rated critic
EUVD-2025-18863
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB