Skip to content
XSS Advisory Advanced CVE-2017-8754

Microsoft Edge Security Feature Bypass Vulnerability (CVE-2017-8754)

Microsoft Edge's Content Security Policy failed to properly validate specially crafted documents, allowing a bypass. An attacker could trick a user into loading a malicious page or visiting a malicious site, potentially executing content that CSP should have blocked.

Jun Kokatsu Follow

Originally disclosed on Microsoft

High 4.2 View original

Description

A security feature bypass vulnerability exists in Microsoft Edge when the Edge Content Security Policy (CSP) fails to properly validate certain specially crafted documents. An attacker who exploited the bypass could trick a user into loading a page containing malicious content. To exploit the bypass, an attacker must trick a user into either loading a page containing malicious content or visiting a malicious website. The attacker could also inject the malicious page into either a compromised website or an advertisement network. The security update addresses the bypass by correcting how the Edge CSP validates documents.

Microsoft Edge

Microsoft Edge

The original report as published on the Microsoft Security Response Center, by Jun Kokatsu ( @shhnjk ). 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 bypass CSP and trick a user into loading a page with malicious content, though the text does not state what code would then run.

What the attacker needed

Victim uses Microsoft Edge; victim loads a malicious page or site

The fix

The bypass was fixed by a security update that corrects how the Edge CSP validates documents.

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.

A Content Security Policy (CSP) is a rule set a website sends to your browser to say which scripts and content are allowed to run. This bug meant Edge did not check those rules properly for some documents, so a malicious page could get around the protection. An attacker still needed to persuade the victim to open a page or visit a site.

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 Jun Kokatsu

View all

10 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.