object-state-machine vulnerabilities
A JavaScript State Machine where each state and it's data is represented by an object, where the emphasis is on the transitions between the states rather than what the current state is. The key points to this state machine model are:
1. The current stat