Skip to main content
VulnerabilityPublished Updated

CVE-2022-40934: Online Pet Shop We App · SQL Injection

Source CVE Database V5

0

Not known to be exploited · CVSS 7.2 High.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.1 base score
7.2High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Sep 2022

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

  1. 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.
  2. Implement least privilege principles: Restrict database user permissions to only necessary operations to limit the impact of any injection attack.
  3. Conduct thorough security testing: Use automated tools and manual penetration testing focused on injection flaws to identify and fix similar vulnerabilities.
  4. Monitor logs and database activity for suspicious queries indicative of injection attempts.
  5. If possible, isolate the vulnerable application behind a Web Application Firewall (WAF) configured to detect and block SQL injection patterns.
  6. Develop and deploy patches promptly once available from the vendor or through internal fixes.
  7. Educate developers on secure coding practices to prevent recurrence.
  8. 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

References

Community reviews

Loading reviews…