Skip to content
XSS Disclosed report Intermediate

Reflect XSS and CSP Bypass on https://www.paypal.com/businesswallet/currencyConverter/

A currency conversion endpoint reflected unsanitised user input from a URL parameter, allowing script injection. An attacker could run JavaScript in another user's browser session on the PayPal domain.

cr33pb0y Follow

Originally disclosed on HackerOne

Medium 4.6 View original
  • Triaged in 19 hours
  • Fixed in 26 days
  • Paid in 26 days
  • Disclosed after 12 months

Summary by the program

An endpoint used for currency conversion was found to suffer from a reflected XSS vulnerability, where user input was not being properly sanitized in a parameter in the URL. This could lead to a malicious user injecting malicious JavaScript, HTML, or any other type of code that the browser may execute. The malicious script will execute in the browser page DOM of another user typically without their knowledge or consent. This was resolved by implementing additional controls to validate and sanitize user input before being returned in the response.

The original report as published on HackerOne, by cr33pb0y. 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

Impact

An attacker could execute script in a victim's browser on the PayPal origin, though the report gives no detail on what that script could reach.

What the attacker needed

Victim loads a crafted URL

The fix

It was fixed by adding controls that validate and sanitise user input before it is returned in the response.

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 web page took text from the address bar and put it into the page without cleaning it. If that text is code, the browser runs it as if PayPal had written it.

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 cr33pb0y

View all

1 more disclosed report, best first.

More from PayPal

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.