When you publish a map in a game called "Fortnite" it asks for a name, a description, and an optional Youtube video. What I'm trying to do is set the "description" to a script tag. Inspect the description on the site here and edit as html to see the encoding that happens, The description that you input is set to that island-header-tagline h3 tag
And I'm trying to run a <script> tag on an <h3> tag. However it seems that when I try to inject the script tag into the h3 tag it html encodes it (< to < and > to >). So it doesn't actually recognize it as an html tag and doesn't run the script. Does anyone know how this would be achieved? Thank you.
Edit: Here is what I'm trying to achieve: Say this is the where the input goes: <h3>USER INPUT</h3>. I'm trying to do something like this <h3></h3><script>alert('test');</script> However < and > are escaped to < and >
P.S.: I'm learning XSS (For non-malicious purposes)
 
     
    
USER INPUT
`. I'm trying to do something like this `` However < and > are escaped to < and > EDIT: As for how the script gets inside thetag, it's a generated page and the input is set to there on generation.
– Dash Apr 20 '19 at 22:53