akiee icon indicating copy to clipboard operation
akiee copied to clipboard

Inserted todos do not get escaped

Open Kasalehlia opened this issue 9 years ago • 1 comments

When entering new todos the HTML special characters (<,>,&) are not escaped, leading to two problems:

  • Tag injection: It is possible to inject arbitrary HTML tags, including <script>
  • incomplete tags, unclosed tags and incomplete ampersand escapes break the state change

A possible fix would be to properly escape the content of the todos before displaying them in the Board etc.

Kasalehlia avatar Apr 14 '15 14:04 Kasalehlia

Thanks for sharing. This will be fixed with the next version, due to the use of react.

rockiger avatar Apr 19 '15 20:04 rockiger