Skip to content

Prevent XSS #374

Closed
Closed
@NTVNgan

Description

Describe the bug

Currently we has not apply yet any protection from XSS exploit as below.

Steps to reproduce

  1. Boxchat write '<img src=x onerror=alert('hi') />'
  2. Broswer show alert hi beacause in code use v-html

Expected behavior

Prevent XSS

Screenshots

xss

Device (please complete the following information)

Package version: 1.5.7

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingin progressThis is currently being worked onpriorityTo be fixed in priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions