Property
Languageapex
Severityhigh
CWECWE-284: Improper Access Control
OWASPA04:2021 - Insecure Design
Confidence LevelHigh
Impact LevelMedium
Likelihood LevelMedium

Description#

Every Apex class should have an explicit sharing mode declared. Use the with sharing or without sharing keywords on a class to specify whether sharing rules must be enforced. Use the inherited sharing keyword on an Apex class to run the class in the sharing mode of the class that called it.