To resolve the issue, download and install the patch compatible with the affected product version found on this page:
https://github.com/SitecoreSupport/Sitecore.Support.78521/releases.
To get a solution for other Sitecore XP releases, contact Sitecore Support.