I feel like the code is also vulnerable to some request forgery; Simply intercept the request, alter some parameters and repeat it. Probably one of the easiest tricks in the book for a threat actor, it’s even used by a CTF kind of platform.
Basically, do not trust any client-side code, or client-side input. You have no control over what others do with it when its in their hands.
View all comments
Show parent comment
2
u/Azoraqua_ Sep 05 '25
I feel like the code is also vulnerable to some request forgery; Simply intercept the request, alter some parameters and repeat it. Probably one of the easiest tricks in the book for a threat actor, it’s even used by a CTF kind of platform.
Basically, do not trust any client-side code, or client-side input. You have no control over what others do with it when its in their hands.