0

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?

1 Answer 1

1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.