CVE-2024-2297

High

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.

SeverityHigh
CVSS7.1
Exploit probability—
ProductBricks
PublishedFeb 27, 2025
First seenFeb 27, 2025

How to fix

Update
  • bricksbuilder bricks1.9.7 or later

Affected products

ProductAffected versionsFixed in
bricksbuilder bricksv < 1.9.71.9.7

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.