[buy.coinbase.com]Content Injection
The `code` parameter on a Coinbase widget page was vulnerable to content injection, allowing an attacker to insert arbitrary text into the page. This could let an attacker display misleading content to users.
- Fixed in 21 days
- Paid in 21 days
- Disclosed after 51 days
Hello Coinbase
Details
I'm not sure if this issue will count, i just want to make sure that is why i submit it. The parameter code is Vulnerable in Content Injection allowing me to inject any Text.
Proof Of Concept
Here is my PoC:

and this which the text overlaps on the modal.

PoC Link
https://buy.coinbase.com/widget?code=<Content Injection here>&address=1234567890&crypto_currency=BTC
Best Regards, @phspade
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
Impact
An attacker could inject arbitrary text into the widget page, potentially misleading users, though the report does not show script execution or other serious consequences.
What the attacker needed
Victim visits a crafted link
How it was found
- Open the widget URL with a `code` value containing injected text.
- Observe the injected text appearing on the page and overlapping the modal.
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.
Content injection means a website puts user-supplied text into a page without properly checking it, so an attacker can make the page show their own words. Here, the `code` value in the web address was reflected into the widget, letting the reporter add text that appeared on the page.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.