CVE-2025-6495: Bricks Builder <= 1.12.4 - Unauthenticated SQL Injection via `p` Parameter

Published Jul 29, 2025
·
Updated

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.

Affected Software

1 affected component
Bricks Bricks Builder<=1.12.4

Event History

Jul 29, 2025
CVE Published
via MITRE·04:23 AM
Data Sourced
via MITRE·04:23 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2025-6495?

CVE-2025-6495 is classified as a critical vulnerability due to its potential for exploitation through blind SQL Injection.

2

How do I fix CVE-2025-6495?

To fix CVE-2025-6495, you should upgrade the Bricks theme to version 1.12.5 or later, which includes the necessary security patches.

3

What versions of the Bricks theme are affected by CVE-2025-6495?

CVE-2025-6495 affects all versions of the Bricks theme up to and including 1.12.4.

4

What impact does CVE-2025-6495 have on affected systems?

CVE-2025-6495 can allow attackers to execute arbitrary SQL queries, potentially leading to data breaches or system compromise.

5

Is user input validation sufficient to mitigate CVE-2025-6495?

No, proper escaping and prepared statements are necessary to mitigate CVE-2025-6495, as simple user input validation is not enough.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203