thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

Business Platforms & EA · Advanced

SOQL Injection

Vulnerability where untrusted input alters a dynamic SOQL query's logic.

Definition

Mitigations include static queries with bind variables, String.escapeSingleQuotes, type casting and allowlists for field names.

Exam tip

String.escapeSingleQuotes is the classic fix shown on Platform Developer exams.

Related terms