CVE-2022-0658: Plugin - SQL Injection
- Cve: CVE-2022-0658
- Name: Plugin - SQL Injection
- Description: The CommonsBooking WordPress plugin before 2.6.8 does not sanitise and escape the location parameter of the calendar_data AJAX action (available to unauthenticated users) before it is used in dynamically constructed SQL queries, leading to an unauthenticated SQL injection
- Impact: Unauthenticated attackers can execute arbitrary SQL commands, potentially leading to data theft, modification, or deletion.
- Remediation: Implement proper sanitisation and escaping of the location parameter before using it in SQL queries, and update the plugin to the latest version.
- Vulnerability type: sql_injection
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.07518
- Epss percentile: 0.9464
- Assignee: [email protected]
- Published at: 2022-03-14T15:15:10Z
- Age in days: 1716
- Modified at: 2026-06-17T04:21:01Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-0658
- Nvd status: modified
- Checked, none or zero: known exploited entries, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2022-0658 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0658.yaml |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://wpscan.com/vulnerability/d7f0805a-61ce-454a-96fb-5ecacd767578 | nvd | 2022-03-14 |
References
| Url | Source | Tags |
|---|---|---|
| https://wpscan.com/vulnerability/d7f0805a-61ce-454a-96fb-5ecacd767578 | nvd | Exploit, Third Party Advisory |
| https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0658.yaml | nuclei_template | Nuclei Template |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| wielebenwir:commonsbooking | < 2.6.8 | no | nvd | /v1/products/wielebenwir/commonsbooking |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-03-14
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, initial access since, hackerone reports, exposed hosts