CVE-2022-21840 Microsoft Office Remote Code Execution Vulnerability

High 8.8 Published Updated

Attackers can execute arbitrary code by exploiting a vulnerability in Microsoft Office applications, requiring user interaction to open a malicious file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-21840?

CVE-2022-21840 is a high-severity code injection vulnerability in Microsoft Excel, published on 11 Jan 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Microsoft Office Remote Code Execution Vulnerability

Which versions are affected by CVE-2022-21840?

It affects 7 products.

Products include Microsoft Excel, Microsoft Office, Microsoft Office Long Term Servicing Channel, Microsoft Office Online Server, Microsoft Office Web Apps, Microsoft Sharepoint Enterprise Server and 1 more.

How do I fix CVE-2022-21840?

No fix has been published for CVE-2022-21840 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-2022-21840 being exploited?

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

All Microsoft Excel vulnerabilities

Sources

Also known as GHSA-rq4v-w4c3-3h29.

Is CVE-2022-21840 in your software?

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

Check your SBOMs for free