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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Lifecycle Timeline
6DescriptionCVE.org
A vulnerability has been found in code-projects Modern Bag 1.0 and classified as critical. This vulnerability affects unknown code of the file /admin/productadd_back.php. The manipulation of the argument namepro leads to sql injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.
AnalysisAI
CVE-2025-7510 is a critical SQL injection vulnerability in code-projects Modern Bag 1.0 affecting the /admin/productadd_back.php file, where the 'namepro' parameter is improperly sanitized allowing remote unauthenticated attackers to execute arbitrary SQL queries. The vulnerability has been publicly disclosed with exploit code available, and carries a CVSS 7.3 score indicating moderate-to-high real-world risk with low attack complexity. An attacker can extract, modify, or delete database contents without authentication, compromising confidentiality, integrity, and availability of the application.
Technical ContextAI
Modern Bag 1.0 is a web application (CPE likely: cpe:2.3:a:code-projects:modern_bag:1.0:*:*:*:*:*:*:*) written in PHP, commonly deployed on Apache/Nginx with MySQL or MariaDB backends. The vulnerability stems from CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component - 'Injection'), a parent category encompassing SQL injection. The /admin/productadd_back.php endpoint accepts user-supplied input via the 'namepro' parameter and constructs SQL queries without parameterized statements or proper input validation, allowing attackers to inject malicious SQL syntax. This is a classic first-order SQL injection vulnerability in a PHP backend handler for product administration.
RemediationAI
{'type': 'Patching', 'description': 'Contact code-projects for security updates to Modern Bag >1.0. No official patch version is referenced in available data; vendor advisory should be requested immediately.', 'priority': 'CRITICAL'} {'type': 'Code-Level Mitigation', 'description': 'If patching is delayed, modify /admin/productadd_back.php to use parameterized prepared statements (MySQLi prepared statements or PDO with bound parameters) for all SQL queries. Example: Use $mysqli->prepare() or PDO::prepare() instead of string concatenation.', 'code_example': "Unsafe: $query = 'INSERT INTO products (namepro) VALUES (' . $_POST['namepro'] . ')'; Correct: $stmt = $mysqli->prepare('INSERT INTO products (namepro) VALUES (?)'); $stmt->bind_param('s', $_POST['namepro']); $stmt->execute();"} {'type': 'Input Validation', 'description': 'Implement strict input validation: whitelist allowed characters for product names, enforce maximum length limits, and use htmlspecialchars() for display contexts.', 'priority': 'HIGH'} {'type': 'WAF/IDS Rule', 'description': "Deploy Web Application Firewall rules to detect SQL injection patterns in POST parameters to /admin/productadd_back.php (e.g., detection of quotes, UNION, SELECT, DROP keywords in 'namepro' parameter).", 'priority': 'MEDIUM'} {'type': 'Access Control Hardening', 'description': 'Restrict access to /admin/ directory via IP whitelisting, VPN, or authentication bypass prevention until patch is applied.', 'priority': 'HIGH'}
More from same product – last 7 days
Authentication bypass in Discuz! X5.0 releases 20260320 through 20260501 allows unauthenticated remote attackers to acce
Authenticated remote code execution in Discuz! X5.0 releases 20260320 through 20260501 allows administrators to chain a
Unauthenticated PHP Object Injection in the Happyforms WordPress plugin (versions <= 1.26.13) allows remote attackers to
Unauthenticated PHP Object Injection in the Broadcast Live Video WordPress plugin (versions prior to 7.1.3) allows remot
Unauthenticated PHP object injection in the WordPress plugin 'Integration for Keap/Infusionsoft and Contact Form 7, WPFo
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2025-21240