OpenRA/OpenRAWeb

Security issue: map data is not being sanitised properly

ScottNZ opened this issue · 4 comments

e.g. host a game using a map with html in its title and navigate to http://www.openra.net/games/
This is a pretty major security issue.

It does not seem to be a problem on the http://www.openra.net/games/ side:

image

<script>alert(''lol test'')</script>

is neither displayed nor executed.

It's possibly just a case of providing the html for closing whatever needs to be closed for the exploit to work. Stuff like this works:
vuln

Fixed in #168.

OpenRA/OpenRA-Resources#240 has been fixed server side.