WordPress · Availability Calendar · CVE-2021-24606
**Name of the Vulnerable Software and Affected Versions**
Availability Calendar WordPress plugin versions prior to 1.2.1
**Description**
The issue arises from the failure to escape the `category` attribute from its shortcode before using it in a SQL statement, leading to a SQL Injection problem. This can be exploited by any user able to add shortcode to posts or pages, such as those with contributor or higher privileges.
**Recommendations**
For versions prior to 1.2.1, update to version 1.2.1 or later to resolve the issue.
As a temporary workaround, consider restricting the ability to add shortcodes to posts or pages to only trusted users until the update can be applied.