You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
As mentioned before, the use of the Parser to serialize JSON is not safe. The following code will execute:
angular.fromJson("{'res':([1,2,3]['constructor']'constructor'())}").res
If the JSON string happened to be user-supplied it would execute code. An approach similar to json.org should be used.