Incorrect security UI in Downloads (CVE-2026-5897)
The Downloads page in Chromium fails to block the :// character sequence in a file's source origin, allowing an attacker to spoof the origin to appear as a trusted site. An attacker could make a downloaded file seem to come from a legitimate source, misleading the user.
Originally disclosed on Chrome VRP
- Fix shipped in 10 months
Steps to reproduce the problem
- Access poc.html
- Press download
- Go to chrome://downloads and you will see the origin will got blank
- When you press the link button, you will see that https://google.com will be set as an origin
Problem Description
This vulnerability occurs when the :// characters is not blocked. As a result, an attacker can spoof the file’s source origin, making it appear as if the file is being downloaded from a trusted source. Chromium should implement a similar prevention mechanism as used in filename protection, where :// characters got removed or blocked, i've attach the video how :// characters got blocked when inserted inside of filename.
Summary
Unblocked :// Characters on data:textorigin value lead to File Source Origin Spoofing
Additional Data
Category: Security
Chrome Channel: Not sure
Regression: N/A
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 Downloads page does not sanitise or block the :// character sequence in the origin value, unlike the filename field which does.
Impact
An attacker could spoof the file's source origin to make it appear as if the file is being downloaded from a trusted source, potentially tricking users into opening malicious files.
What the attacker needed
Victim downloads a file; victim visits chrome://downloads
The fix
Chromium should implement a prevention mechanism similar to filename protection, where :// characters are removed or blocked.
How it was found
- Open the proof-of-concept page.
- Press the download button.
- Go to the downloads page and observe the origin is blank.
- Press the link button and see that a trusted site is set as the origin.
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 you download a file, your browser shows where it came from so you can decide if it is safe. This report found that a malicious file could trick that display into showing a trusted website like Google, even though it did not come from there. That could fool someone into opening a harmful file.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.