CVE-2022-0658
WordPress vulnerability analysis and mitigation

Overview

CVE-2022-0658 affects the CommonsBooking WordPress plugin versions before 2.6.8. The vulnerability was discovered and publicly disclosed on February 21, 2022. This security issue exists in the calendar_data AJAX action functionality of the plugin, which is accessible to unauthenticated users (WPScan).

Technical details

The vulnerability is classified as an SQL Injection (SQLI) with a CVSS v3.1 base score of 9.8 (CRITICAL). The issue occurs because the plugin fails to properly sanitize and escape the location parameter in the calendar_data AJAX action before using it in dynamically constructed SQL queries. This vulnerability is categorized as CWE-89: Improper Neutralization of Special Elements used in an SQL Command (NVD).

Impact

As an unauthenticated SQL injection vulnerability, successful exploitation could allow attackers to execute arbitrary SQL commands on the underlying database. This could potentially lead to unauthorized access to sensitive data, manipulation of database contents, and possible compromise of the WordPress installation (WPScan).

Exploitability

The vulnerability is exploitable by unauthenticated users through the calendar_data AJAX action. A proof of concept exists demonstrating how an attacker can trigger a time-based SQL injection by sending a specially crafted request to the wp-admin/admin-ajax.php endpoint (WPScan).

Mitigation and workarounds

Users should immediately upgrade to CommonsBooking version 2.6.8 or later, which contains the fix for this vulnerability (WPScan).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-13784CRITICAL9.8
  • arforms-form-builder
NoYesAug 16, 2026
CVE-2026-17087HIGH7.5
  • wp-travel-engine
NoYesAug 16, 2026
CVE-2026-2497HIGH7.2
  • gallery-plugin
NoYesAug 16, 2026
CVE-2026-17608MEDIUM6.5
  • wp-compress-image-optimizer
NoYesAug 16, 2026
CVE-2026-2357MEDIUM6.4
  • bold-page-builder
NoYesAug 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management