In affected versions of WordPress, files with a specially crafted name when uploaded to the Media section can lead to script execution upon accessing the file. This requires an authenticated user with privileges to upload files. The vulnerability is related to insufficient protection measures in the `formatting.php` and `SanitizeFileName.php` components, which can allow a remote attacker to impact data integrity.