Skip to content
XSS Disclosed report Beginner

[marketplace.informatica.com] Profile stored XSS

The user's name and last name were inserted into a JavaScript string without escaping quotes, so a value containing a quote could break out and run script. An attacker could set their own name to a script payload and have it execute when another user viewed their profile.

s_p_q_r Follow

Originally disclosed on HackerOne

  • Triaged in 3 days
  • Fixed in 48 days
  • Disclosed after 4 months

The user name and lastname are inserted into JS with quotes non-escaped:

JavaScript
var pageNameDTM = "%name% %lastname%".replace(/[^a-zA-Z0-9 ]/g, "").replace(/  +/g, " ");

PoC:

  1. Log into your account
  2. Set your name and lastname to "-alert(document.domain)-"
  3. Open your profile page https://marketplace.informatica.com/people/%email% from another account

The script will be executed:

inf_mp_xss.png
inf_mp_xss.png From the original on HackerOne

The original report as published on HackerOne, by s_p_q_r. 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 concatenated user-controlled name fields into a JavaScript string literal without escaping quotes or encoding the output.

Impact

An attacker could run script in the browser of a user who viewed their profile.

What the attacker needed

A user account; victim views the attacker's profile

How it was found

  1. Log into your account
  2. Set your name and lastname to a value containing a quote and script
  3. Open your profile page from another account

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 website put a person's name directly into a piece of JavaScript code without cleaning it first. If someone typed a name containing a quote character, it could trick the browser into running extra code. This is called cross-site scripting (XSS): an attacker makes a victim's browser run the attacker's script.

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 s_p_q_r

View all

14 more disclosed reports, best first.

More from Informatica

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.