If you are unable to expand a folder or sub-folders in the Media library, please double check your
Web Application Firewall, which in some cases (depending on the settings) is blocking the request. The request is blocked because the firewall thinks it is probably a cross-site scripting attack.