radical-limeR
Cyber Info3y ago
11 replies
radical-lime

XSS injection question

I’m creating a very simple website that will use ChatGPTs api. I want to display the content I get from the api in a nice looking way so I figured I could just have ChatGPT add html-tags.

However I came to realize that to display what I get back I need to set the response to “safe. I e it just runs it, this is as I’ve come to understand a risk for XSS injection.

How big risk is this? I feel like there’s not very likely I’d get bad code from the api but I cannot say that for sure.
Was this page helpful?