Cyber InfoCICyber Info
Powered by
radical-limeR
Cyber Info•3y 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.
Cyber Info banner
Cyber InfoJoin
At Cyber Info, we strive to empower every individual with easy access to cybersecurity education
183,284Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Wi-fi Injection
kasadyツKkasadyツ / ❓︱support-requests
2mo ago
File Question
OreoLover451OOreoLover451 / ❓︱support-requests
6mo ago
Ffuf question
𐑺 ֗ ִ ˖  𝐊𝐚𝐧𝐭  ▾ 𖥦 ִ ۫�𐑺 ֗ ִ ˖ 𝐊𝐚𝐧𝐭 ▾ 𖥦 ִ ۫ / ❓︱support-requests
6mo ago
Question profile
Yamal SolosYYamal Solos / ❓︱support-requests
10mo ago