Skip to main content

Modern Bag EUVDEUVD-2025-21241

| CVE-2025-7512 MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-07-13 cna@vuldb.com
5.5
CVSS 4.0 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L) indicates network-based attack requiring no authentication or user interaction with low attack complexity—all high-risk indicators. The vulnerability impacts confidentiality, integrity, and availability equally. The critical classification combined with public exploit disclosure significantly elevates real-world exploitation probability. Exploitation is highly automatable given the straightforward SQL injection mechanism and lack of required authentication. The technical impact is substantial: attackers can query database contents, modify data, or potentially execute stored procedures depending on database permissions. Given the disclosed POC availability and remote unauthenticated attack vector, this represents a genuine and immediate priority requiring urgent patching, particularly for internet-facing instances. The relatively lower CVSS score (7.3 vs. 9.0+) reflects the limited scope impact rather than reduced exploitability.

Exploit ScenarioDerived

An attacker discovers a publicly accessible Modern Bag 1.0 installation and identifies the /contact-back.php endpoint. They craft a malicious HTTP POST request with contact-name parameter containing SQL injection payload, such as: contact-name=test' UNION SELECT username, password FROM users-- or contact-name=test'; DROP TABLE contacts;--. Since no authentication is required and the parameter is unsanitized, the injected SQL executes against the backend database. The attacker can extract sensitive data (usernames, emails, passwords from users table), enumerate database structure, modify records, or delete data. Given disclosed POC availability, automated exploitation tools likely exist, making attack execution trivial for even novice attackers. A single HTTP request with proper SQL syntax can compromise the entire database.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAI

CVE-2025-7512 is a critical SQL injection vulnerability in code-projects Modern Bag version 1.0, affecting the /contact-back.php file's contact-name parameter. An unauthenticated remote attacker can exploit this vulnerability to execute arbitrary SQL queries, potentially leading to unauthorized data access, modification, or deletion. The vulnerability has public exploit disclosure and demonstrates active exploitation potential with a CVSS score of 7.3.

RemediationAI

{'type': 'patch', 'description': "Upgrade to a patched version of Modern Bag beyond 1.0 if available from code-projects. Check the vendor's official repository or website for security updates.", 'priority': 'critical'} {'type': 'code_fix', 'description': 'Implement parameterized queries/prepared statements in /contact-back.php. Replace all SQL concatenation with parameterized query syntax: use placeholders (?) or named parameters (:param) with bound variables.', 'example': 'Replace: "SELECT * FROM contacts WHERE name = \'" . $_POST[\'contact-name\'] . "\'" with prepared statement using mysqli_stmt_bind_param() or PDO prepared statements.'} {'type': 'input_validation', 'description': 'Implement strict input validation: whitelist alphanumeric characters and common name punctuation; enforce maximum length constraints; reject special SQL characters if parameterization is temporarily unavailable.', 'priority': 'high'} {'type': 'waf_mitigation', 'description': 'Deploy Web Application Firewall (WAF) rules to detect and block SQL injection patterns in the contact-name parameter pending patch deployment. Monitor for attack patterns like quotes, semicolons, SQL keywords (UNION, SELECT, etc.).', 'priority': 'high'} {'type': 'access_control', 'description': 'Restrict network access to /contact-back.php using firewall rules or reverse proxy authentication if the contact form is not essential.', 'priority': 'medium'} {'type': 'detection', 'description': 'Enable SQL query logging and database activity monitoring to detect exploitation attempts. Search logs for unusual SQL patterns in contact form submissions.', 'priority': 'medium'}

Affected VersionsENISA

Modern Bag 1.0

Affected Packages

euvd modern_bag no fix

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 represents a classic SQL injection flaw (CWE-74: Improper Neutralization of Special Elements used in an Output ('Injection')) occurring in the contact form backend processing logic. The /contact-back.php endpoint fails to properly sanitize or parameterize the 'contact-name' input parameter before incorporating it into SQL queries. The affected product is code-projects Modern Bag 1.0, a PHP-based web application. The root cause stems from unsanitized user input being directly concatenated into SQL statements, bypassing standard query parameterization and prepared statement protections. Modern web frameworks typically prevent this through parameterized queries (prepared statements), but this legacy application appears to construct queries through string concatenation.

Know when Modern Bag 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

NVD PRIMARY 5.5 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Severity Changed
Apr 29, 2026 - 01:11 NVD
HIGH MEDIUM
CVSS changed
Apr 29, 2026 - 01:11 NVD
7.3 (HIGH) 5.5 (MEDIUM)
PoC Detected
Jul 15, 2025 - 17:42 vuln.today
Public exploit code
CVE Published
Jul 13, 2025 - 03:15 nvd
HIGH 7.3

DescriptionCVE.org

A vulnerability was found in code-projects Modern Bag 1.0. It has been classified as critical. Affected is an unknown function of the file /contact-back.php. The manipulation of the argument contact-name leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.

Executive ViewAI

Why It Matters

A publicly disclosed SQL injection vulnerability in Modern Bag 1.0 allows remote attackers to compromise database integrity and potentially exfiltrate sensitive customer data through the contact form functionality. This poses an immediate risk to any organization running this application, particularly those handling customer information via the contact feature.

Business Impact: High
Compensating Controls

Deploy Web Application Firewall (WAF) rules to block SQL injection patterns in contact-name parameter; disable /contact-back.php endpoint if non-critical; implement database access controls and monitoring; apply network segmentation to limit database exposure; require input validation/encoding at application level if code modifications are possible; monitor for exploitation via IDS/IPS signatures for SQLi attempts.

Threat Intelligence Overview

EPSS Score
0.1%
Top 83% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2025-2385 MEDIUM POC
6.9 Mar 17

A vulnerability has been found in code-projects Modern Bag 1.0 and classified as critical. Rated medium severity (CVSS 6

CVE-2025-7514 MEDIUM POC
5.5 Jul 13

A SQL injection vulnerability exists in code-projects Modern Bag version 1.0, specifically in the /admin/contact-list.ph

CVE-2025-7513 MEDIUM POC
5.5 Jul 13

CVE-2025-7513 is a critical SQL injection vulnerability in code-projects Modern Bag 1.0 affecting the /admin/slideupdate

CVE-2025-7510 MEDIUM POC
5.5 Jul 13

CVE-2025-7510 is a critical SQL injection vulnerability in code-projects Modern Bag 1.0 affecting the /admin/productadd_

CVE-2025-7509 MEDIUM POC
5.5 Jul 13

CVE-2025-7509 is a critical SQL injection vulnerability in code-projects Modern Bag 1.0 affecting the /admin/slide.php e

CVE-2025-7508 MEDIUM POC
5.5 Jul 13

CVE-2025-7508 is a critical SQL injection vulnerability in code-projects Modern Bag 1.0 affecting the /admin/product-upd

CVE-2025-7478 MEDIUM POC
5.5 Jul 12

CVE-2025-7478 is a critical SQL injection vulnerability in code-projects Modern Bag 1.0 affecting the /admin/category-li

CVE-2025-7461 MEDIUM POC
5.5 Jul 12

CVE-2025-7461 is a critical SQL injection vulnerability in code-projects Modern Bag version 1.0, located in the /action.

CVE-2025-7471 MEDIUM POC
5.5 Jul 12

CVE-2025-7471 is a critical SQL injection vulnerability in code-projects Modern Bag version 1.0 affecting the /admin/log

CVE-2025-7467 MEDIUM POC
5.5 Jul 12

CVE-2025-7467 is a critical SQL injection vulnerability in code-projects Modern Bag version 1.0 affecting the /product-d

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy