d0kefish
Explore posts from serversCICyber Info
•Created by d0kefish on 9/24/2023 in #❓︱support-requests
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.
12 replies