This is the package I used for the practical fix when you still want to allow some HTML formatting. With Purify::clean (or model casting), it strips the script tags away while keeping safe markup like bold/paragraphs.
You'll be taken to Github to complete your purchase.

A Huge Security Risk To Your Website - Cross-Site Scripting (XSS) - Practical Example and Solutions
9K views · 2023-01-09 03:00:08

Ecommerce Series - Using Laravel Policies For Authorization - Episode 28
1K views · 2022-08-03 02:15:00

Ecommerce Series - Pagination - Episode 27
835 views · 2022-08-01 02:15:02

Ecommerce Series - Delete Product Image - Episode 26
469 views · 2022-07-25 02:15:01

Ecommerce Series - Uploading Multiple Images Using Drag and Drop - Episode 25
830 views · 2022-07-22 02:15:02

Ecommerce Series - Setup Multiple Images Drag and Drop Uploading - Episode 24
2K views · 2022-07-18 02:15:00

Ecommerce Series - Product CRUD - Create, Edit and Delete Product - Episode 22
970 views · 2022-05-30 03:00:10