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 | This vulnerability presents moderate real-world risk despite its 6.3 CVSS score. The CVSS vector indicates PR:L (requires authentication), which limits attack surface compared to unauthenticated SQL injection flaws. However, multiple risk signals compound the severity: publicly available exploit code exists (E:P in vector), the exploitation probability is rated 'Proven' (RL:X), and the impact covers all three CIA triad dimensions (C:L/I:L/A:L). The presence of public POC code and confirmed exploitation feasibility elevates this from a theoretical risk to a practical threat requiring prompt remediation. Organizations hosting this open-source portal should treat this as high-priority despite the moderate CVSS score, particularly if the application is internet-facing. |
| Exploit ScenarioDerived | An authenticated user with a valid portal account could craft a malicious HTTP request to /sub-category.php, injecting SQL commands via the pid parameter (e.g., pid=1' UNION SELECT username, password FROM users--). Due to the low attack complexity and availability of public exploit code, an attacker could systematically extract sensitive data such as user credentials, payment information, or product pricing. Because authentication is required, the threat is limited to existing users or those who can obtain low-privilege credentials, but insider threats or credential compromise amplify the risk. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 05, 2026
SQL injection in PHPGurukul Online Shopping Portal Project 2.1 allows authenticated remote attackers to execute arbitrary SQL queries via the pid parameter in /sub-category.php, enabling information disclosure and potential data modification. Publicly available exploit code exists for this vulnerability, which carries a CVSS score of 6.3 with confirmed exploitation feasibility.
RemediationAI
Patch the /sub-category.php file to use parameterized queries (prepared statements) for all database operations involving the pid parameter. If a patched version is available from phpgurukul.com, upgrade immediately. As a workaround pending patching, implement input validation on the pid parameter to accept only numeric values, and apply web application firewall rules to detect and block SQL injection patterns in requests to /sub-category.php. Review the public exploit available on GitHub (https://github.com/f1rstb100d/CVE/issues/10) to understand the attack vector and test your remediation. Consult phpgurukul.com for official security advisories and patch availability.
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 exists in the parameter handler component of PHPGurukul Online Shopping Portal Project, a PHP-based e-commerce application. The /sub-category.php file fails to properly sanitize or parameterize the pid (product ID) parameter before incorporating it into SQL queries, introducing a classic CWE-89 SQL injection flaw. The attack vector is network-based with low complexity, requiring only low-level authentication (PR:L per CVSS vector), meaning an attacker with basic user credentials can exploit this weakness to manipulate backend SQL operations.
Know when Online Shopping Portal Project 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 weakness has been identified in PHPGurukul Online Shopping Portal Project 2.1. This issue affects some unknown processing of the file /sub-category.php of the component Parameter Handler. This manipulation of the argument pid causes sql injection. Remote exploitation of the attack is possible. The exploit has been made available to the public and could be used for attacks.
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.
Related Vulnerabilities in PHPGurukul Online Shopping Portal SQL Injection
View all 4A SQL Injection vulnerability was found in /shopping/track-orders.php in PHPGurukul Online Shopping Portal v2.1, which a
PHPGurukul Online Shopping Portal Project v2.1 is vulnerable to SQL Injection in /shopping/login.php via the fullname pa
SQL injection in PHPGurukul Online Shopping Portal Project 2.1 allows authenticated remote attackers to execute arbitrar
SQL injection in PHPGurukul Online Shopping Portal Project 2.1 allows authenticated remote attackers to execute arbitrar
SQL injection in PHPGurukul Online Shopping Portal Project 2.1 allows authenticated remote attackers to manipulate the f
SQL injection in PHPGurukul Online Shopping Portal Project 2.1 allows authenticated remote attackers to execute arbitrar
SQL injection in PHPGurukul Online Shopping Portal Project 2.1 allows authenticated remote attackers to execute arbitrar
A vulnerability has been found in PHPGurukul Online Shopping Portal Project 2.0. Rated medium severity (CVSS 6.9), this
A vulnerability was identified in PHPGurukul Online Shopping Portal Project 2.0. Rated medium severity (CVSS 6.9), this
A vulnerability was determined in PHPGurukul Online Shopping Portal Project 2.0. Rated medium severity (CVSS 6.9), this
EUVD-2026-19052
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB