Incorrect Authorization
| Property | |
|---|---|
| Language | apex |
| Severity | |
| CWE | CWE-863: Incorrect Authorization |
| OWASP | A01:2021 - Broken Access Control |
| Confidence Level | Low |
| Impact Level | High |
| Likelihood Level | Low |
Description#
Native Salesforce DML operations execute in system context, ignoring the current user’s permissions, field-level security, organization-wide defaults, position in the role hierarchy, and sharing rules. Be mindful when using native Salesforce DML operations.