CVE-2024-25600: Unauthenticated PHP Code Execution in WordPress Bricks Builder
- Vendor
- Bricks Builder
CVE-2024-25600 is a code injection vulnerability affecting the Bricks Builder theme for WordPress through version 1.9.6. The prepare_query_vars_from_settings() function passes attacker-controlled queryEditor content to eval(). The render_element REST API permission callback validates a publicly accessible nonce without adequately checking user permissions, allowing unauthenticated attackers to reach the vulnerable code path. Default installations are exploitable. Version 1.9.6.1 fixes the vulnerability by adding permission checks and sanitizing PHP query content.
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.
Successful exploitation compromises the confidentiality, integrity, and availability of the affected WordPress environment through arbitrary server-side PHP execution. Potential consequences include sensitive data theft, website defacement, malware or backdoor installation, service disruption, and use of the compromised server for further attacks, subject to the privileges of the PHP process. Active exploitation has been confirmed, including deployment of malware capable of disabling Wordfence and Sucuri security plugins.
Mitigation
If you can’t patch tonight, do this now.
Apply a vulnerability-specific virtual patch where available; Patchstack deployed one for its customers. Increase monitoring for suspicious POST requests to the Bricks render_element REST API endpoint and inspect request bodies to distinguish exploitation attempts from legitimate rendering activity. A successful HTTP response alone does not establish exploitation.
Remediation
Patch, then assume compromise.
Upgrade Bricks Builder to version 1.9.6.1 or later. The fix adds authorization checks to render_element_permissions_check() and sanitizes PHP query content using Helpers::sanitize_element_php_code(). Investigate potentially exposed installations for prior compromise and remove any discovered malicious changes or persistence; updating alone does not remediate an existing compromise.
Exploits
18 exploits validated by Mallory's analysis. Hidden: 3 rejected by Mallory's analysis as not a working exploit; 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-2024-25600 exploited in the wild?
- Yes. As of Nov 6, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2024-25600?
- Yes. Mallory tracks 18 public exploits or proofs of concept for CVE-2024-25600, the earliest disclosed Feb 19, 2024.
- Is there a patch for CVE-2024-25600?
- Upgrade Bricks Builder to version 1.9.6.1 or later. The fix adds authorization checks to render_element_permissions_check() and sanitizes PHP query content using Helpers::sanitize_element_php_code().
- What products are affected by CVE-2024-25600?
- Bricks Builder Bricks.
- How severe is CVE-2024-25600?
- CVE-2024-25600 has a CVSS v3.1 score of 10.0 (Critical) and an EPSS score of 73.1% (100th percentile) as of Nov 6, 2026.
Recent activity
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.