CVE-2022-40934: Online Pet Shop We App · SQL Injection
Source CVE Database V5
Not known to be exploited · CVSS 7.2 High.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.9% chance of exploitation in 30 days – higher than 62% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 22 Sep 2022
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
- Immediate code review and remediation: Sanitize and validate all user inputs, especially the 'id' parameter in the 'delete_sub_category' function, using prepared statements or parameterized queries to prevent SQL injection.
- Implement least privilege principles: Restrict database user permissions to only necessary operations to limit the impact of any injection attack.
- Conduct thorough security testing: Use automated tools and manual penetration testing focused on injection flaws to identify and fix similar vulnerabilities.
- Monitor logs and database activity for suspicious queries indicative of injection attempts.
- If possible, isolate the vulnerable application behind a Web Application Firewall (WAF) configured to detect and block SQL injection patterns.
- Develop and deploy patches promptly once available from the vendor or through internal fixes.
- Educate developers on secure coding practices to prevent recurrence.
- Regularly back up databases and verify restore procedures to mitigate data loss from potential attacks.
Description
Online Pet Shop We App v1.0 is vulnerable to SQL injection via /pet_shop/classes/Master.php?f=delete_sub_category,id