Skip to content
XSS Advisory Intermediate CVE-2020-1442

Office Web Apps XSS Vulnerability (CVE-2020-1442)

An Office Web Apps server failed to properly sanitise a specially crafted request, allowing an authenticated attacker to perform cross-site scripting. The attacker could run script in the security context of the current user if the user clicked a crafted URL.

SURESH C Follow

Originally disclosed on Microsoft

Description

A spoofing vulnerability exists when an Office Web Apps server does not properly sanitize a specially crafted request. An authenticated attacker could exploit the vulnerability by sending a specially crafted request to an affected Office Web Apps server. The attacker who successfully exploited this vulnerability could then perform cross-site scripting attacks on affected systems and run script in the security context of the current user. For the vulnerability to be exploited, a user must click a specially crafted URL that takes the user to a targeted Office Web App site. In an email attack scenario, an attacker could exploit the vulnerability by sending an email message containing the specially crafted URL to the user of the targeted Office Web App site and convincing the user to click the specially crafted URL. The security update addresses the vulnerability by helping to ensure that Office Web AppsServer properly sanitizes web requests.

FAQ

Is the Preview Pane an attack vector for this vulnerability? No, the Preview Pane is not an attack vector.

Microsoft Office

Microsoft Office

Microsoft

Microsoft

The original report as published on the Microsoft Security Response Center, by SURESH C. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could perform cross-site scripting and run script in the security context of the current user, but the victim must click a specially crafted URL.

What the attacker needed

Authenticated attacker; victim clicks a crafted URL

The fix

The security update addresses the vulnerability by ensuring that Office Web Apps Server properly sanitises web requests.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Cross-site scripting (XSS) is when an attacker sneaks harmful code into a trusted website, so the victim's browser runs it as if it came from that site. Here, the Office Web Apps server didn't clean up a request properly, so an attacker who is already logged in could send a link that, when clicked, runs their script in the victim's browser. The victim must click the link for the attack to work.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by SURESH C

View all

12 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.