Skip to main content

PHP CVE-2025-6303

| EUVD-2025-18713 MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-06-20 cna@vuldb.com
5.5
CVSS 4.0 · NVD
Share

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/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
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

6
Severity Changed
Apr 29, 2026 - 01:11 NVD
HIGH MEDIUM
CVSS changed
Apr 29, 2026 - 01:11 NVD
7.3 (HIGH) 5.5 (MEDIUM)
EUVD ID Assigned
Mar 15, 2026 - 00:19 euvd
EUVD-2025-18713
Analysis Generated
Mar 15, 2026 - 00:19 vuln.today
PoC Detected
Jun 26, 2025 - 21:19 vuln.today
Public exploit code
CVE Published
Jun 20, 2025 - 03:15 nvd
HIGH 7.3

DescriptionCVE.org

A vulnerability has been found in code-projects Online Shoe Store 1.0 and classified as critical. Affected by this vulnerability is an unknown functionality of the file /contactus1.php. The manipulation of the argument Message leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.

AnalysisAI

CVE-2025-6303 is a critical SQL injection vulnerability in code-projects Online Shoe Store version 1.0, specifically in the /contactus1.php file's Message parameter. An unauthenticated remote attacker can exploit this to execute arbitrary SQL queries, potentially leading to unauthorized data access, modification, or deletion. The vulnerability has been publicly disclosed with exploit code available, making active exploitation likely.

Technical ContextAI

This vulnerability represents a classic SQL injection flaw (CWE-74: Improper Neutralization of Special Elements used in an SQL Command) where user-supplied input from the 'Message' parameter in /contactus1.php is not properly sanitized before being incorporated into SQL queries. The affected product is code-projects Online Shoe Store 1.0, an e-commerce application likely built with PHP and a relational database backend (MySQL/MariaDB/PostgreSQL). The root cause is insufficient input validation and lack of parameterized queries or prepared statements. The attacker can manipulate the Message POST/GET parameter to break out of the intended SQL context and inject malicious SQL commands. CWE-74 categorizes this as improper neutralization of special elements, indicating the application fails to escape or validate metacharacters that have special meaning in SQL syntax.

RemediationAI

Immediate actions: (1) Disable or restrict access to /contactus1.php if the contact form is non-critical; (2) Implement Web Application Firewall (WAF) rules to block SQL injection payloads in the Message parameter (pattern matching for SQL keywords: UNION, SELECT, INSERT, DROP, etc.); (3) Apply rate limiting and IP-based restrictions to the contact endpoint. Medium-term remediation: (1) Contact code-projects for security updates or patch availability—if no patches are forthcoming, plan application replacement; (2) Implement input validation: use allowlists for Message content, restrict to alphanumeric characters and basic punctuation, enforce maximum length limits; (3) Refactor /contactus1.php to use parameterized SQL queries (prepared statements) with bound parameters instead of string concatenation; (4) Apply principle of least privilege to database credentials used by the web application. Long-term: Migrate to a maintained e-commerce platform with modern security practices.

Share

CVE-2025-6303 vulnerability details – vuln.today

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