Skip to content
Misconfiguration Advisory Beginner CVE-2025-3074

Inappropriate implementation in Downloads (CVE-2025-3074)

Chrome's download UI blocks the sequence :// in filenames to prevent origin spoofing, but the reporter found that visually similar Unicode characters (ratio and long division slash) bypass this restriction. An attacker could then create a filename that displays a fake origin, such as a trusted website, in the download origin UI.

Farras Givari Follow

Originally disclosed on Chrome VRP

Bounty$500 Low View original
  • Fix shipped in 2 months

Steps to reproduce the problem

1.Prepare spoof.html 2. Access the spoof.html 3. Download the file 4. You will see that the :// blacklist is getting bypassed and allow attacker to create a fake origin

Problem Description

By default, Chrome’s Security UI blocks :// from appearing as a filename in the Download UI. One reason Chrome may block these characters is to prevent spoofing techniques in the Download UI. However, in this case, I was able to bypass this restriction using ∶⧸⧸ (Ratio U+2236 + Long Division Slash U+29F8, x2). With this bypass method, an attacker can create a fake origin in the filename, such as creating a different origin source like From https://google.com to a malicious file in the Download Origin UI.

Summary

Bypass :// Characters in Download Security UI lead to Origin Spoofing

Additional Data

Category: Security
Chrome Channel: Not sure
Regression: N/A

The original report as published on the Chromium issue tracker, by Farras Givari. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 3 min read.

Context

Chrome's download UI shows the user where a downloaded file came from, including an origin string such as From https://google.com. Because that string is part of the security UI, Chrome deliberately blocks the sequence :// from appearing as a filename in the download UI. The stated reason is to prevent spoofing techniques in that UI: if a filename could contain ://, an attacker could make a file look as though it had been downloaded from a trusted origin.

This report describes a bypass of that blacklist. The researcher, Farras Givari, found that visually similar Unicode characters could be substituted for the ASCII characters in ://, producing a filename that renders like an origin in the download UI while passing the filter. The affected component is Downloads, the weakness is classified as inappropriate implementation, and the issue was tracked as CVE-2025-3074 with low severity and a 500.00 USD bounty under the Chrome VRP. It was disclosed on 2025-04-01.

Setup

The report gives very little setup information. The only precondition stated is preparing an HTML file named spoof.html, accessing it, and downloading a file through Chrome. The Chrome channel is listed as "Not sure" and regression as "N/A", so the report does not pin the bug to a specific version or channel.

Finding it

The researcher started from the known behaviour that Chrome's Security UI blocks :// from appearing as a filename in the Download UI, and treated that block as a spoofing defence. The question was whether the filter could be satisfied by something that looks like :// to a human but is not the ASCII sequence the filter checks for.

The answer was a set of Unicode lookalikes: ∶⧸⧸, made up of Ratio (U+2236) followed by Long Division Slash (U+29F8) twice. Ratio substitutes for the colon and the two Long Division Slashes substitute for the two forward slashes. Because these are different code points from :, / and /, the :// blacklist does not match them, yet in the rendered filename they read as an origin separator.

Exploitation

Step 1: Prepare spoof.html

The researcher prepares an HTML file called spoof.html. The report does not include its contents, so the exact markup and the filename it triggers are not shown.

Step 2: Access the spoof.html

The file is opened in Chrome. Again, the report does not describe the page or any interaction on it.

Step 3: Download the file

A download is started from the page. The download is started from the page, and the report does not describe the filename used.

Step 4: Observe the bypass

In the download UI, the :// blacklist is bypassed and the attacker is able to create a fake origin. The researcher's example is a filename that presents a different origin source, such as From https://google.com, attached to a malicious file in the Download Origin UI.

Root cause

The filter blocks the sequence :// from appearing as a filename in the download UI. Unicode code points that are visually confusable with :, / and / are not in the blacklist, so a filename containing ∶⧸⧸ passes the check while still reading as an origin separator in the UI. The defence therefore fails at the point where it matters: the human looking at the download entry.

Impact

An attacker can craft a downloaded file whose entry in the Download Origin UI appears to come from a different origin, for example one resembling From https://google.com, while the file itself is malicious. This is an origin spoofing technique in the download UI.

Fix

Variants to test

  1. Other confusable colon and slash code points in download filenames. A positive result is a filename that renders as an origin separator in the download UI while passing the filter.
  2. The same substitution in other UI strings that display an origin or URL next to attacker-controlled text. A positive result is a displayed origin that differs from the real one.
  3. Mixed sequences, combining one ASCII character with lookalikes, to see whether partial normalisation still leaves a readable separator. A positive result is any rendering that a user would read as ://.

Hunting notes

This kind of bug hides in security UI that renders attacker-controlled strings, especially where the defence is a blacklist of ASCII characters rather than a check on the rendered result. The signal is a filter that rejects an exact character sequence: if the check is literal, confusable Unicode is worth trying. The researcher described the bypass as allowing a fake origin in the Download Origin UI.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 7 min read.

What happened, in plain words

When you download a file in Chrome, the browser shows you a small line telling you where the file came from. That line can include something like From https://google.com, so you can see the site the file was downloaded from. Because people trust that line, Chrome tries to stop a filename from containing the characters ://, which is the part of a web address that separates the scheme (https) from the site name. If a filename could contain ://, someone could name a file so that it looks as though it came from a trusted site.

Farras Givari found that this protection could be got around. Instead of the normal colon and slashes, the filename used characters that look almost the same but are stored differently by the computer: ∶⧸⧸. Chrome's filter only looks for the exact normal characters, so it let these through, and the download screen still showed what looked like a web address. The result is that a malicious file can appear to come from a site it did not come from. This is called origin spoofing.

The issue was tracked as CVE-2025-3074, rated low severity, and paid a 500.00 USD bounty under the Chrome VRP. It was disclosed on 2025-04-01.

Context

To follow this, you need a few ideas first.

  • Origin: the combination of scheme, host and port that identifies where a web resource lives, for example https://google.com. Browsers use it to decide which site a page belongs to. Think of it as the return address on an envelope: it tells you where something came from.
  • Security UI: parts of the browser interface that exist to keep you safe, such as warnings, padlocks and the download bar. Because people trust them, they are attractive targets for attackers.
  • Spoofing: making something look like something else. A spoofed origin is a fake return address.
  • Blacklist: a list of things that are forbidden. A blacklist filter rejects anything on the list and allows everything else. It is the opposite of an allowlist, which permits only known-good things.
  • ASCII and Unicode: ASCII is the basic set of characters that includes the normal colon : and forward slash /. Unicode is a much larger set that includes thousands of other characters, some of which look very similar to ASCII ones. Each character has a number, called a code point, such as U+2236.
  • Confusable characters: different characters that look the same or nearly the same to a human. The letter O and the digit 0 are a familiar example.

Chrome's download interface shows where a downloaded file came from, including an origin string such as From https://google.com. Because that string is part of the security UI, Chrome deliberately blocks the sequence :// from appearing as a filename in the download UI. The stated reason is to prevent spoofing: if a filename could contain ://, an attacker could make a file look as though it had been downloaded from a trusted origin.

This report describes a bypass of that blacklist. The researcher found that visually similar Unicode characters could be substituted for the ASCII characters in ://, producing a filename that renders like an origin in the download UI while passing the filter. The affected component is Downloads, the weakness is classified as inappropriate implementation, and the issue was tracked as CVE-2025-3074 with low severity and a 500.00 USD bounty under the Chrome VRP. It was disclosed on 2025-04-01.

Setup

The report gives very little setup information. The only precondition stated is preparing an HTML file named spoof.html, accessing it, and downloading a file through Chrome. HTML is the language web pages are written in, and serving a file means making it available so a browser can open it. The Chrome channel is listed as "Not sure" and regression as "N/A", so the report does not pin the bug to a specific version or channel. A channel is a release track such as stable or beta, and a regression is a bug that appeared in a version where things used to work.

Finding it

The researcher started from the known behaviour that Chrome's Security UI blocks :// from appearing as a filename in the Download UI, and treated that block as a spoofing defence. The question was whether the filter could be satisfied by something that looks like :// to a human but is not the ASCII sequence the filter checks for.

The answer was a set of Unicode lookalikes:

This is made up of Ratio (U+2236) followed by Long Division Slash (U+29F8) twice. Ratio substitutes for the colon and the two Long Division Slashes substitute for the two forward slashes. Because these are different code points from :, / and /, the :// blacklist does not match them, yet in the rendered filename they read as an origin separator. In everyday terms, it is like a bouncer checking names against a list and letting in someone whose name is spelled with a lookalike letter.

Exploitation

Step 1: Prepare spoof.html

The researcher prepares an HTML file called spoof.html. The report does not include its contents, so the exact markup and the filename it triggers are not shown. The purpose of this step is to have a page from which a download can be started.

Step 2: Access the spoof.html

The file is opened in Chrome. Again, the report does not describe the page or any interaction on it. This step puts the attacker-controlled page in front of the browser so the download can be triggered.

Step 3: Download the file

A download is started from the page. The download is started from the page, and the report does not describe the filename used. The point of this step is to get a file with the crafted name into the download UI, where the filter is supposed to catch it.

Step 4: Observe the bypass

In the download UI, the :// blacklist is bypassed and the attacker is able to create a fake origin. The researcher's example is a filename that presents a different origin source, such as From https://google.com, attached to a malicious file in the Download Origin UI. The purpose of this step is to confirm that the download screen shows the fake origin rather than blocking the name.

Root cause

The filter blocks the sequence :// from appearing as a filename in the download UI. Unicode code points that are visually confusable with :, / and / are not in the blacklist, so a filename containing ∶⧸⧸ passes the check while still reading as an origin separator in the UI. The defence therefore fails at the point where it matters: the human looking at the download entry.

Impact

An attacker can craft a downloaded file whose entry in the Download Origin UI appears to come from a different origin, for example one resembling From https://google.com, while the file itself is malicious. This is an origin spoofing technique in the download UI.

Fix

Normalising means converting lookalike characters to a standard form before checking them.

Variants to test

  1. Other confusable colon and slash code points in download filenames. A positive result is a filename that renders as an origin separator in the download UI while passing the filter.
  2. The same substitution in other UI strings that display an origin or URL next to attacker-controlled text. A positive result is a displayed origin that differs from the real one.
  3. Mixed sequences, combining one ASCII character with lookalikes, to see whether partial normalisation still leaves a readable separator. A positive result is any rendering that a user would read as ://.

Hunting notes

This kind of bug hides in security UI that renders attacker-controlled strings, especially where the defence is a blacklist of ASCII characters rather than a check on the rendered result. The signal is a filter that rejects an exact character sequence: if the check is literal, confusable Unicode is worth trying. The researcher described the bypass as allowing a fake origin in the Download Origin UI.

Glossary

  • ASCII: the basic character set that includes the normal colon : and forward slash /.
  • Blacklist: a list of forbidden values; anything on the list is rejected and everything else is allowed.
  • Channel: a release track for a browser, such as stable or beta.
  • Code point: the number that identifies a character in Unicode, written like U+2236.
  • CVE: a public identifier for a known security vulnerability.
  • Download Origin UI: the part of the download interface that shows where a file came from.
  • HTML: the language used to write web pages.
  • Inappropriate implementation: a weakness category meaning the code does not do what it should, rather than a specific memory or logic flaw.
  • Normalise: convert different but equivalent characters to a standard form before checking them.
  • Origin: the scheme, host and port that identify where a web resource lives, for example https://google.com.
  • Origin spoofing: making a file or page appear to come from an origin it did not come from.
  • Regression: a bug that appears in a version where things used to work.
  • Security UI: browser interface elements that exist to keep the user safe, such as warnings and download bars.
  • Unicode: a large character set that includes thousands of characters beyond ASCII, some of which look like ASCII ones.
  • VRP: Chrome's Vulnerability Reward Program, which pays researchers for reporting security bugs.

More by Farras Givari

View all

4 more disclosed reports, best first.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.