I was doing a VAPT assessment in which I see some JSON body in the request which has orgid deviceid
So there any possibility to get XSS in json body?
Information Security Stack Exchange is a question and answer site for information security professionals. It only takes a minute to sign up.
Sign up to join this communityI was doing a VAPT assessment in which I see some JSON body in the request which has orgid deviceid
So there any possibility to get XSS in json body?
So there any possibility to get XSS in json body?
XSS is not about how the code fragment is transported but where it is included. Thus it does not matter if it is transport with JSON, XML, plain text, ... If it is included in places were scripts gets executed, then it is essentially included as code, i.e. XSS is possible. If it is included in places were it could break out of the current context and enter script context, then XSS is possible too.