Search engines might index personalized content. This happens because Sitecore XP might expose content that should be hidden by personalization to visitors who are identified as robots when visiting a site.
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.308078/releases.
To get a solution for other Sitecore XP versions, contact Sitecore Support.