Skip to content
XSS Disclosed report Beginner CVE-2020-8160

Reflected XSS in "*.mendix.com/openid/*"

The OpenID endpoint reflected user-supplied data from the URL path without HTML escaping, allowing a JavaScript payload to execute in the victim's browser. An attacker could craft a link that runs script in the context of the affected Mendix domain.

exag0ra Follow

Originally disclosed on HackerOne

Medium 6.4 View original
  • Triaged in 4 hours
  • Fixed in 3 months
  • Disclosed after 5 months

Summary by the program

The endpoint at https://sprintr.home-accp.mendix.com/openid/* suffers from a Cross-Site Scripting vulnerability via the URL path. This is caused by the reflection of user-supplied data without appropriate HTML escaping or output encoding. As a result, a JavaScript payload may be injected into the above endpoint causing it to be executed within the context of the victim's browser.

The original report as published on HackerOne, by exag0ra. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 application echoed the URL path segment after /openid/ into the HTML response without escaping it.

Impact

A crafted link could run script in the victim's browser on the Mendix domain, though the text gives no further detail on what that script could reach.

What the attacker needed

Victim clicks a crafted link

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.

When a website takes something you typed in the address bar and puts it straight into the page without cleaning it, an attacker can put code in the link instead of normal text. If a victim opens that link, the code runs as if the website itself had written it, which is called cross-site scripting. Here the part of the address after /openid/ was echoed back unsafely.

What is XSS?

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

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.