R2 render the html page and trigger xss
I run a service where users can upload any files and share them with others. Recently, I noticed that when users upload an HTML file containing a script tag, it triggers an XSS (Cross-Site Scripting) vulnerability when others visit that location. What measures can I take to prevent XSS attacks in this scenario?
1 Reply
ohk thx is there any example for csp rule
thx