CVE-2025-47173 Microsoft Office Remote Code Execution Vulnerability

High 7.8 Published Updated

An attacker can execute arbitrary code locally by exploiting improper input validation in Microsoft Office applications.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-47173?

CVE-2025-47173 is a high-severity code injection vulnerability in Microsoft 365 Apps, published on 10 Jun 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Improper input validation in Microsoft Office allows an unauthorized attacker to execute code locally.

Weakness: CWE-641

Which versions are affected by CVE-2025-47173?

It affects 3 products.

Products include Microsoft 365 Apps, Microsoft Office, Microsoft Office Long Term Servicing Channel.

How do I fix CVE-2025-47173?

No fix has been published for CVE-2025-47173 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2025-47173 being exploited?

There is no known exploitation of CVE-2025-47173 in the wild and no public exploit code.

All Microsoft 365 Apps vulnerabilities

Sources

Also known as GHSA-5mq4-g7c8-jh32.

Is CVE-2025-47173 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free