# CVE-2024-25600: WordPress Bricks Theme <= 1.9.6 - Unauthenticated Remote Code Execution (RCE) vulnerability

> Unauthenticated attackers can execute arbitrary code on sites using the Bricks Builder theme, requiring immediate updates.

- **Severity:** Critical 10.0 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 4 Jun 2024
- **Updated:** 28 Apr 2026
- **Also known as:** GHSA-4rxr-g7cg-rwg8

## What is CVE-2024-25600?

CVE-2024-25600 is a critical code injection vulnerability in Codeer Limited Bricks Builder, published on 4 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Improper Control of Generation of Code ('Code Injection') vulnerability in Codeer Limited Bricks Builder allows Code Injection.This issue affects Bricks Builder: from n/a through 1.9.6.

Weakness: CWE-94 (Improper Control of Generation of Code)

## Which versions are affected by CVE-2024-25600?


## How do I fix CVE-2024-25600?

No fix has been published for CVE-2024-25600 yet. Limit exposure of the affected software until one is available.

## Is CVE-2024-25600 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-25600 exists.

Public exploit code:

- Unauthenticated Remote Code Execution – Bricks <= 1.9.6 (github_poc): https://github.com/Chocapikk/CVE-2024-25600
- Nuclei template and information about the POC for CVE-2024-25600 (github_poc): https://github.com/Christbowel/CVE-2024-25600_Nuclei-Template
- Unauthenticated RCE exploit for CVE-2024-25600 in WordPress Bricks Builder <= 1.9.6. Executes arbitrary code remotely. (github_poc): https://github.com/so1icitx/CVE-2024-25600
- This tool is designed to exploit the CVE-2024-25600 vulnerability found in the Bricks Builder plugin for WordPress. The vulnerability allows for unauthenticated remote code execution on affected websites. The tool automates the exploitation process by retrieving nonces and sending specially crafted requests to execute arbitrary commands. (github_poc): https://github.com/Tornad0007/CVE-2024-25600-Bricks-Builder-plugin-for-WordPress
- WORDPRESS-CVE-2024-25600-EXPLOIT-RCE - WordPress Bricks Builder Remote Code Execution (RCE) (github_poc): https://github.com/X-Projetion/WORDPRESS-CVE-2024-25600-EXPLOIT-RCE
- Unauthenticated remote code execution vulnerability in WordPress Bricks Builder <= 1.9.6. The template render endpoint accepts PHP code without authentication, allowing arbitrary command execution as the web server user. (github_poc): https://github.com/estebanzarate/CVE-2024-25600-WordPress-Bricks-Builder-RCE-PoC

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-25600 and fix it if it is affected.

What it is: CVE-2024-25600 is a critical code injection vulnerability in Codeer Limited Bricks Builder, published on 4 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-25600 exists.

Affected product: Codeer Limited Bricks Builder. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2024-25600/ (Markdown: https://insights.sbomify.com/CVE-2024-25600/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2024-25600
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-25600
- OSV: https://osv.dev/vulnerability/CVE-2024-25600

---
From sbomify Insights: https://insights.sbomify.com/CVE-2024-25600/
Summaries are generated and may contain mistakes; the official description above is the record.
