Per my research, it is a default behavior that when you click a hyperlink in the PDF file which is embedded in a content editor web part or a page viewer web part, it opens this hyperlink in a new browser tab.
There is no option to change the default behavior.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.