A Researcher’s Reflection on Identifying a Vulnerability in a C
A live JWT and an API xToken were stored client-side and could be accessed, and combined with a template-injection XSS, an attacker could retrieve these tokens and perform authenticated requests, leading to account takeover.
Published on meetcyber.net
Most researchers bounce off enterprise crypto platforms in the first 30 minutes. Rate‑limited.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application stored sensitive authentication tokens in client-side storage (localStorage) and also had a template injection vulnerability that allowed script execution, enabling token theft.
Impact
The vulnerability allowed session hijacking, authentication bypass, and unauthorized access to merchant data, potentially causing financial and reputational damage.
What the attacker needed
Template-injection XSS vulnerability; victim visits malicious page
How it was found
- Identify a valid, in-scope asset
- Map the merchant-side infrastructure
- Discover an exposed GraphQL endpoint
- Recover authentication tokens
- Validate token usability and permissions
- Perform authenticated queries
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 write-up has not been written yet. The Original tab links to the source.
A website stored secret login tokens in the browser where malicious code could read them. An attacker could trick the site into running their code, steal the tokens, and then act as the victim user.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.