Possible Adware infection.
You can remove adware/malware using either one of these two methods.
1. Using EtreCheck: https://etrecheck.com/maspro
Download EtreCheck: https://etrecheck.com/maspro and post the report here.
Click, “Free Download” button and then “Click to download” button,
open Downloads folder, click on it to open, and then select ”Open”.
Click on the bouncing EtreCheck icon in the Dock.
“Choose a problem” from the popup menu box, and then “Start EtreCheck” in the dialog.
If you wish, you can post the report here.
Click “Share Report” button in the toolbar, select “Copy to Clipboard” .
Paste the report here when you reply.
Run EtreCheck again.
Scroll up the sidebar and click the “Security” button.

“Adware” and the “Unsigned” files will be listed on the right hand side pane along with a “Remove” button.
Click the ”Remove” button wherever you see “adware”.
Restart your Mac. Launch Safari holding the “Shift” key down.
2. Using “Malwarebytes for Mac”:
1. Use the latest release of MalwareBytes for Mac to remove malware/adware.
Install guide: https://support.malwarebytes.com/docs/DOC-1817
Uninstall Guide: https://support.malwarebytes.com/docs/DOC-1190
The installer may ask you to allow it in Security & Privacy /System Preference. Allow it.
Click the “Scan Now” button. Once done, quit Malwarebytes for Mac.
2. Uninstall extensions you have not installed knowingly.
Section: Manage extensions: https://support.apple.com/guide/safari/use-safari-extensions-sfri32508/mac
3. Restart the computer, relaunch Safari holding the shift key down.