-3

I have a site where a page http://www.example.com/errorpage.html?errmsg="Some error string"

This error string is then rendered into the webpage in a <p class="error">Some error string</p> fashion server side, then the HTML is sent to the client.

I've been trying for the past while to see if I can escape this and change the markup without success.

Is it even possible, or is the page secure.

Thanks -Mitchell

Phil
  • 157,677
  • 23
  • 242
  • 245
Mitchell
  • 929
  • 2
  • 11
  • 34

1 Answers1

3

This site has a pretty comprehensive list of CSS/XSS exploits, along with specific examples. Allowing an error message to be rendered through a query parameter is pretty suspect though, and even if none of these vectors work, that's no guarantee that some vector won't arise in the future.

lmortenson
  • 1,610
  • 11
  • 11