CVE-2024-2297 Bricksbuilder <= 1.9.6.1 - Authenticated (Contributor+) Privilege Escalation via create_autosave

High 7.1 Published Updated

Authenticated contributors can escalate privileges to administrator and execute arbitrary PHP code if specific Bricks Builder settings are enabled.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-2297?

CVE-2024-2297 is a high-severity vulnerability in Bricks, published on 27 Feb 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

The Bricks theme for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 1.9.6.1. This is due to insufficient validation checks placed on the create_autosave AJAX function. This makes it possible for authenticated attackers, with contributor-level access and above, to execute arbitrary PHP code with elevated (administrator-level) privileges. NOTE: Successful exploitation requires (1) the Bricks Builder to be enabled for posts (2) Builder access to be enabled for contributor-level users, and (3) "Code Execution" to be enabled for administrator-level users within the theme's settings.

Weakness: CWE-269

Which versions are affected by CVE-2024-2297?

It affects 1 product.

Products include Bricksbuilder Bricks.

How do I fix CVE-2024-2297?

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

Is CVE-2024-2297 being exploited?

There is no known exploitation of CVE-2024-2297 in the wild and no public exploit code.

Sources

Also known as GHSA-6m6j-3p57-wq75.

Is CVE-2024-2297 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free