When I save all the Data in my Database, where I checked it with filter_var( $value, FILTER_SANITIZE_STRING )
.
To display this data later, I make a GET request in my Frontend JS and insert it via JS in the DOM.
Do I still need htmlspecialchars() or something more to prevent malicious code??