CVE-2021-24931: SQL Injection in Secure Copy Content Protection and Content Locking WordPress Plugin
- Vendor
- Ays-Pro
CVE-2021-24931 is a critical SQL injection vulnerability in the Secure Copy Content Protection and Content Locking WordPress plugin (by AYS Pro), affecting all versions prior to 2.8.2. The vulnerability arises from the failure to properly escape the 'sccp_id' parameter in the 'ays_sccp_results_export_file' AJAX action, which is accessible to both unauthenticated and authenticated users. This allows attackers to inject arbitrary SQL commands into the underlying database.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Exploitation of this vulnerability allows remote attackers to execute arbitrary SQL commands on the affected WordPress site's database. This can result in data theft, unauthorized data modification, or full site compromise. The availability of public exploit code significantly increases the risk of widespread exploitation.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, disable or remove the vulnerable plugin until it can be updated. Restrict access to the WordPress AJAX interface where feasible, and monitor logs for suspicious activity related to the 'ays_sccp_results_export_file' action.
Remediation
Patch, then assume compromise.
Upgrade the Secure Copy Content Protection and Content Locking WordPress plugin to version 2.8.2 or later, where the vulnerability has been patched. Ensure all WordPress plugins are kept up to date to minimize exposure to known vulnerabilities.
Exploits
1 exploit validated by Mallory's analysis. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2021-24931 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2021-24931?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2021-24931, the earliest disclosed Nov 8, 2021.
- Is there a patch for CVE-2021-24931?
- Upgrade the Secure Copy Content Protection and Content Locking WordPress plugin to version 2.8.2 or later, where the vulnerability has been patched. Ensure all WordPress plugins are kept up to date to minimize exposure to known vulnerabilities.
- What products are affected by CVE-2021-24931?
- Ays-Pro Secure Copy Content Protection And Content Locking.
- How severe is CVE-2021-24931?
- CVE-2021-24931 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 78.8% (100th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.