Skip to content
XSS Advisory Beginner CVE-2023-36886

Microsoft Dynamics 365 (on-premises) Cross-site Scripting Vulnerability (CVE-2023-36886)

A cross-site scripting flaw existed in Microsoft Dynamics 365 on-premises. An authenticated attacker could craft a URL that, when clicked by a victim, would run malicious script in the victim's browser, potentially allowing theft of cookies or credential prompts.

batram Follow

Originally disclosed on Microsoft

High 7.6 View original

FAQ

According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? The user would have to click on a specially crafted URL to be compromised by the attacker.

FAQ

According to the CVSS metric, successful exploitation of this vulnerability could lead to some loss of integrity (I:L)? What does that mean for this vulnerability? The attacker is only able to modify the content of the vulnerable link to redirect the victim to a malicious site.

FAQ

According to the CVSS metric, a successful exploitation could lead to a scope change (S:C). What does this mean for this vulnerability? The vulnerability is in the web server, but the malicious scripts execute in the victim’s browser on their machine.

FAQ

According to the CVSS metric, privileges required is low (PR:L). What does that mean for this vulnerability? Any authenticated attacker could trigger this vulnerability. It does not require admin or other elevated privileges.

FAQ

According to the CVSS metric, successful exploitation of this vulnerability could lead to total loss of confidentiality (C:H)? What does that mean for this vulnerability? There could be a loss of confidentiality if an unaware user clicked on a popup therefore creating an opportunity for an attacker to retrieve cookies or present the user with a dialog box to enter user credentials.

Microsoft Dynamics

Microsoft Dynamics

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by batram. 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

Root cause

Likely the web application failed to properly sanitise or encode user-supplied input before reflecting it back in a page, allowing script injection.

Impact

An attacker could modify the content of the vulnerable link to redirect the victim to a malicious site, and could potentially retrieve cookies or present a credential-entry dialog, though the text notes this only happens if an unaware user clicks a popup.

What the attacker needed

Attacker has a low-privileged authenticated account; victim clicks a specially crafted URL

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 a website lets an attacker sneak their own code into a page that other people view. Here, an attacker who already has a normal account could make a link that, when a victim clicks it, runs the attacker's code in the victim's browser. That code could then read the victim's cookies (small files that keep them logged in) or show a fake login box to steal their password.

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 batram

View all

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