Bricks Builder <= 1.12.4 - Unauthenticated SQL Injection via `p` Parameter

7.5
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2025-6495
CVSS 7.5 (High)
Publicly Published July 28, 2025
Last Updated July 29, 2025
Researcher Jamie Burchell - ib3 Limited

Description

The Bricks theme for WordPress is vulnerable to blind SQL Injection via the ‘p’ parameter in all versions up to, and including, 1.12.4 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Bricks

Software Type Theme
Software Slug bricks
Patched? Yes
Remediation Update to version 2.0, or a newer patched version
Affected Version
  • <= 1.12.4
Patched Version
  • 2.0

Recent vulnerabilities in Bricks

# Title CVE ID CVSS Researchers Date
1 Bricks <= 1.9.2 - Reflected Cross-Site Scripting CVE-2026-41554 6.1 w41bu1 April 23, 2026
2 Bricksbuilder <= 1.9.6.1 - Authenticated (Contributor+) Privilege Escalation via create_autosave CVE-2024-2297 7.1 etragardh February 26, 2025
3 Bricks <= 1.10.1 - Authenticated (Bricks Page Builder Access+) Stored Cross-Site Scripting CVE-2023-3410 5.4 Ram September 13, 2024
4 Bricks <= 1.8.1 - Cross-Site Request Forgery via save_settings CVE-2023-3408 4.3 Ram August 16, 2024
5 Bricks <= 1.8.1 - Cross-Site Request Forgery via reset_settings CVE-2023-3409 5.4 Ram August 16, 2024
6 Bricks <= 1.9.6 - Unauthenticated Remote Code Execution CVE-2024-25600 9.8 Snicco February 13, 2024
7 Bricks 1.2 - 1.5.3 - Remote Code Execution CVE-2022-3401 8.8 October 3, 2022
8 Bricks 1.0 - 1.5.3 - Missing Authorization to Arbitrary Content Creation/Modification CVE-2022-3400 6.5 October 3, 2022

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation