CWE DATABASE
About
GET A DEMO
Backslash Vulnerability Database
Public Data Assigned to Private Array-Typed Field
Public Data Assigned to Private Array-Typed Field
CWE-496
Short description
Assigning public data to a private array is equivalent to giving public access to the array.
Best practices to prevent this CWE
Phase: Implementation
Do not allow objects to modify private members of a class.