Access to Critical Private Variable via Public Method
CWE-767 · Base · Incomplete
The product defines a public method that reads or modifies a private variable.
Extended description
If an attacker modifies the variable to contain unexpected values, this could violate assumptions from other parts of the code. Additionally, if an attacker can read the private variable, it may expose sensitive information or make it easier to launch further attacks.