I am using the Summernote WYSIWYG-editor (as shown below) and found that it uses HTML tags to format text.
<textarea name="body" id="editor" value="{{old('body')}}" rows="10" required></textarea>
How to protect my application from XSS attacks? I store the input as plain text, and outputting in using : {!! $body !!}
.
Is it possible to filter the textarea
for vulnerable input, such as: <script>alert("boom")</script>