In case there are malicious scripts or contents (e.g. Micro or Vulnerabilities) , then Microsoft Defender is able to detect and remove them , so if you scan a infected Microsoft Office document (e.g. Microsoft Word), it would be able to detect and remove such a content.
Scanning embedded documents in Word
We are an organisation running Office 365 and have Microsoft 365 E5 security licencing in place.
Does Microsoft offer a solution to scanning embedded documents within Word?
I haven't been able to find any documentation on this.