Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS 4.0 vector indicates moderate risk: network-accessible endpoint (AV:N), low attack complexity (AC:L), requiring low privileges (PR:L), with limited scope impact (VC:L/VI:L/VA:L). However, multiple factors elevate real-world priority: (1) publicly available exploit code exists, significantly increasing exploitation probability and threat actor access; (2) authentication is required (PR:L), which reduces but does not eliminate risk in environments with weak access controls or compromised accounts; (3) SQL injection is easily automatable and can scale attacks across multiple targets; (4) the affected product appears to be self-hosted software with potentially varied security practices. The moderate CVSS score may understate risk because SQL injection often enables privilege escalation, data exfiltration, or lateral movement, impacts not fully captured in the limited CVSS 4.0 scope metrics. Organizations with exposed instances should prioritize patching despite the sub-critical CVSS rating. |
| Exploit ScenarioDerived | An authenticated attacker with low-privilege account access (e.g., a regular user) crafts a malicious request to delete_photos.php with a specially crafted ID parameter containing SQL injection payload, such as ID=1' OR '1'='1 or a UNION-based query to exfiltrate user data. The vulnerable endpoint executes the attacker's SQL directly against the database without sanitization, allowing the attacker to bypass authorization logic, extract sensitive data from photos or user tables, or modify database records. Since publicly available exploit code exists (confirmed via GitHub reference), attackers can automate and scale this attack against vulnerable instances with minimal effort. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 27, 2026
SQL injection in code-projects Social Networking Site 1.0 allows authenticated remote attackers to execute arbitrary SQL queries via the ID parameter in delete_photos.php, potentially enabling unauthorized data access, modification, or deletion. The vulnerability affects an unknown function in the Endpoint component and has publicly available exploit code, increasing the likelihood of active abuse despite the moderate CVSS 5.3 score.
RemediationAI
Upgrade code-projects Social Networking Site to a patched version released by the vendor (exact version number not specified in available advisories; consult https://code-projects.org/ for the latest release). If an immediate patch is unavailable, implement the following compensating controls: (1) restrict network access to the delete_photos.php endpoint using web application firewall rules or reverse proxy IP allowlisting; (2) enforce prepared statements or parameterized SQL queries in the affected endpoint if source code access is available; (3) apply strict input validation to the ID parameter, accepting only expected numeric or alphanumeric formats; (4) monitor application logs for anomalous SQL syntax in request parameters; (5) enforce strong authentication and access controls to limit exposure to authenticated users only. Additional information is available in the public exploit documentation at https://github.com/ahmadmarz10-hub/CVEsMarz/blob/main/SQL%20Injection%20in%20Social%20Networking%20Site%20v1.0%20delete_photos.php.md.
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
The vulnerability stems from improper input validation in the delete_photos.php endpoint, a common PHP-based social networking application. The root cause is CWE-89 (SQL Injection), where user-supplied input in the ID parameter is concatenated directly into SQL queries without parameterized statements or prepared statements. The affected product is code-projects Social Networking Site version 1.0 (cpe:2.3:a:code-projects:social_networking_site:*:*:*:*:*:*:*:*), a PHP-based web application. Attackers can bypass SQL query logic by injecting malicious SQL syntax, allowing them to interact with the underlying database beyond the intended function scope.
Know when Social Networking Site 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:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
4DescriptionCVE.org
A security flaw has been discovered in code-projects Social Networking Site 1.0. This affects an unknown function of the file delete_photos.php of the component Endpoint. The manipulation of the argument ID results in sql injection. The attack can be executed remotely. The exploit has been released to the public and may be used for attacks.
Executive ViewAI
Organizations using A security flaw should be aware of moderate risk from CVE-2026-4970, a SQL injection vulnerability rated CVSS 5.3. Exploitation could allow attackers to execute code or inject malicious input. Proof-of-concept code is publicly available. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: deploy WAF rules, restrict network access, enable logging.
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 Social Networking Site
View allSQL injection in the /delete_post.php endpoint of code-projects Social Networking Site 1.0 allows unauthenticated remote
A vulnerability was found in code-projects Social Networking Site 1.0 and classified as problematic. Rated medium severi
Stored cross-site scripting (XSS) in code-projects Social Networking Site 1.0 allows authenticated remote attackers to i
EUVD-2026-16762
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB