CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Lifecycle Timeline
4Tags
Description
A vulnerability, which was classified as critical, was found in code-projects Modern Bag 1.0. Affected is an unknown function of the file /admin/category-list.php. The manipulation of the argument idCate leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
Analysis
CVE-2025-7478 is a critical SQL injection vulnerability in code-projects Modern Bag 1.0 affecting the /admin/category-list.php file, where the 'idCate' parameter is not properly sanitized, allowing unauthenticated remote attackers to execute arbitrary SQL queries. The vulnerability has been publicly disclosed with working exploits available, and while classified as critical in the original report, the CVSS 7.3 score indicates moderate-to-high real-world risk with potential for data exfiltration, modification, and denial of service. Active exploitation is likely given public POC availability and the ease of the attack vector.
Technical Context
This vulnerability represents a classic unsanitized user input flaw (CWE-74: Improper Neutralization of Special Elements used in an Output ['Injection']) in a PHP-based e-commerce/product management application. The vulnerable code path exists in the administrative category listing functionality (/admin/category-list.php) where the 'idCate' parameter is passed directly into SQL queries without proper parameterized query preparation or input validation. The affected product is code-projects Modern Bag version 1.0, a PHP-based shopping cart or product catalog system. The vulnerability is likely in legacy PHP code that concatenates user input directly into SQL strings rather than using prepared statements with bound parameters. CWE-74 classification indicates the application fails to properly handle special SQL metacharacters (quotes, semicolons, boolean operators) that are part of the user-supplied input.
Affected Products
Modern Bag (['1.0'])
Priority Score
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2025-21222