dwyl / dwyl/chat

Escaping HTML & JS in Messages

Open
#25 0 comments 0 reactions 0 assignees View on GitHub
bug help wanted question
Dominant language
Elixir
Stars
65
Forks
8
PR merge metrics
No merged PRs in 30d

Description

To prevent JS injection and other malicious XSS etc. e.g:
![chat-js-alert-injection](https://cloud.githubusercontent.com/assets/194400/14891391/5cc0969e-0d5e-11e6-8d99-a4f6a8bc071b.png)
We need to escape all input in the chat.

> The _question_ is: should we escape the messages on the client, server or _both_ ?

relates to: https://github.com/dwyl/chat/pull/24 by @alanshaw

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.