Are there any potential security risks associated with allowing a PHP website to display the currently playing music on a user's media player?

There are potential security risks associated with allowing a PHP website to display the currently playing music on a user's media player, such as exposing sensitive information or vulnerabilities in the media player software. To mitigate these risks, it is important to validate and sanitize any user input before displaying it on the website.

<?php
$currently_playing = $_GET['currently_playing'];
$validated_input = filter_var($currently_playing, FILTER_SANITIZE_STRING);

echo "Currently playing: " . $validated_input;
?>