Information disclosure-Referer leak
In Brave's private window with Tor, navigating from one page to another leaked the originating site's host in the Referer header. An attacker running a destination site could learn which site a Tor user came from, undermining the privacy the Tor mode is meant to provide.
Originally disclosed on HackerOne
- Triaged in 4 days
- Fixed in 2 months
- Paid in 19 days
- Disclosed after 5 months
Assigned to: Brave Assigned by: Kirtikumar Anandrao Ramchandani Assigned on: 13/09/2021 Browser information used to test (Up to date):
Brave 1.29.79 Chromium: 93.0.4577.63 (Official Build) (64-bit)
Revision ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}
OS Windows 10 OS Version 2009 (Build 19043.1165)
Vulnerability name: Information Disclosure
Vulnerability description: Brave browser has a function of New Private Window with Tor. The browser when used with Tor shouldn't leak the referer.
Steps to reproduce:
- Visit exploit.
- Click on
https://www.whatismybrowser.com/.
Expected behavior: It should have shown a blank referrer
Actual behavior: It shows the referrer as: kirtikumarar.com which was the host from where we navigated
To know expected behavior, please refer to the below screenshot:

Video POC showing the expected behavior can be found below:
Impact
- This will leak users information
- In the Tor network, we don't have common URLs as we have in the browsers. They usually are something like
dhxnafkaxlxdnackeudxdca.onion, those can be leaked.
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 Tor private window did not strip or blank the Referer header on cross-site navigation, so the originating host was still sent to the destination.
Impact
A destination site could learn the host of the page a Tor user came from, which may reveal identifying information and, in the Tor network, leak onion-style addresses.
What the attacker needed
Brave private window with Tor; victim clicks a link to attacker site
How it was found
- Open the test page in a Brave private window with Tor.
- Click the link to the browser-information site.
- Observe the Referer value shown on the destination page.
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.
When your browser moves from one page to another, it can send a small note called the Referer header telling the new site where you came from. In a private Tor window, that note should be blank so sites cannot link your visits together. Here it was not blank, so the destination site learned the address of the page the user had just left.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.