Looking at this [code](https://github.com/keen-on-design/vue-flash-message/blob/b8cb33093b2a9226e69633ad8fae6cb687aeef28/src/FlashMessageComponent.js#L14), it use `innerHTML` and that means we can use HTML tag that can cause XSS Attack Payload ```javascript this.flash('<img src=x onerror="alert(\'XSS Attack\')">'); ``` Be careful for flash message that contain input from the user!
Looking at this code, it use
innerHTMLand that means we can use HTML tag that can cause XSS AttackPayload
Be careful for flash message that contain input from the user!