Skip to content
Info disclosure Advisory Advanced CVE-2026-17732

Inappropriate implementation in SVG (CVE-2026-17732)

SVG filters in Chrome can read pixels from cross-origin frames, including local files opened via file:// URIs. An attacker who gets a victim to open a downloaded HTML file and scan a QR code shown on the page could exfiltrate the contents of a local text file to the attacker's server.

Lyra Rebane Follow

Originally disclosed on Chrome VRP

Bounty$2,000 Medium View original
  • Fix shipped in 6 months

VULNERABILITY DETAILS
This report is basically my SVG clickjacking technique, but applied to the browser and local file paths.

Tl;dr of the technique is that SVG filters can read cross-origin pixels and perform operations on them.

If an attacker can convince a user to download a html file and scan a QR code within it, the contents of any text file can be exfiltrated and read by the attacker. For example, an attacker could create a fake order confirmation for a ticket, which has a QR code inside that must be scanned to add the ticket to Google Wallet. Upon scanning the QR code, the user's private key is exfiltrated.

To prove that the attack is possible, I wrote an SVG filter that can generate a QR code that fits ~365 bytes of data. I also wrote a filter that can read the entire base64 character set off of an arbitrary text file inside an iframe.

I believe that with some work, this attack could read out an entire id_ed25519 private key file - the QR code is already big enough to fit its contents, and the character reading could be worked on further to read out the entire file instead of just the first 40 characters.

The QR code also scans really well on my phone's stock camera app. On there it shows up as "example.com", which when tapped opens the full url in the browser. This means that the user doesn't even see the data in the URL until it's already loaded (and sent to attacker). The data could of course be obfuscated too, I kept it as the same characters just for the demo.

My suggestion would be to make SVG filters not apply to cross-origin frames, which is what Webkit already does.

VERSION
Chrome Version: 145.0.7620.3 Dev
Operating System: Windows 10

REPRODUCTION CASE
Make sure you're using Windows 10, no custom color profile (Automatically manage color for apps setting), and no display scaling (must be at 100%).

  1. Download the attached files into the same folder.
  2. Add your secret message into the secret file such that it matches [A-Za-z0-9+/]{40}.
  3. Open the fake-ticket-demo.html file directly in the browser, so that it opens on a file:// URI.
  4. Wait a moment, and then scan the QR code on the page. It will take you to https://example.com?ref=, followed by some spaces and the contents of the secret file in reverse.

CREDIT INFORMATION
Externally reported security bugs may appear in Chrome release notes. If this bug is included, how would you like to be credited?
Reporter credit: Lyra Rebane (rebane2001)

The original report as published on the Chromium issue tracker, by Lyra Rebane (rebane2001). 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. 4 min read.

Context

This is a Chrome bug in the SVG filter implementation. SVG filters can read cross-origin pixels and perform operations on them, and the report applies that capability to the browser itself and to local file paths. The technique is the author's earlier SVG clickjacking work, reused here against file:// content.

The practical scenario: an attacker convinces a user to download an HTML file and scan a QR code shown inside it. The contents of a text file can then be exfiltrated and read by the attacker. The report's example is a fake order confirmation for a ticket, containing a QR code that the user is told to scan to add the ticket to Google Wallet. Scanning it exfiltrates the user's private key.

Setup

The reproduction was done on:

  • Chrome Version: 145.0.7620.3 Dev
  • Operating System: Windows 10

Preconditions stated in the report:

  1. Windows 10.
  2. No custom colour profile (the Automatically manage colour for apps setting must be off).
  3. No display scaling (must be at 100%).

The researcher also wrote two SVG filters as proof of concept: one that generates a QR code fitting roughly 365 bytes of data, and one that reads the entire base64 character set off an arbitrary text file inside an iframe.

Finding it

The starting point is the earlier SVG clickjacking technique: SVG filters can read cross-origin pixels and perform operations on them. The new observation is that this applies to the browser and to local file paths, so a page opened from file:// can read a text file inside an iframe and encode what it reads into a QR code that the user then scans with their phone.

The QR code scans well on the researcher's phone with the stock camera app. There it shows up as example.com, and tapping it opens the full URL in the browser. The user therefore does not see the data in the URL until it has already loaded and been sent to the attacker. The data could also be obfuscated; the researcher kept the same characters for the demo.

Exploitation

Step 1: Prepare the files

Download the attached files into the same folder. The demo page is fake-ticket-demo.html and it reads a file named secret.

Step 2: Plant the secret

Add your secret message into the secret file such that it matches the following pattern:

Text
[A-Za-z0-9+/]{40}

That is 40 characters from the base64 alphabet, the character set the reading filter works with.

Step 3: Open the page from a local file

Open the fake-ticket-demo.html file directly in the browser, so that it opens on a file:// URI. This is the condition under which the demo is run.

Step 4: Scan the generated QR code

Wait a moment, then scan the QR code on the page. It takes you to https://example.com?ref=, followed by some spaces and the contents of the secret file in reverse.

So the exfiltration channel is the URL itself: the secret is appended to the query string, reversed, and the user does not see the data until the URL has already loaded.

Root cause

SVG filters are allowed to read cross-origin pixels and operate on them. When the framed content is a text file, that same capability lets the page sample the rendered text and reconstruct characters from it. The researcher's suggestion is that SVG filters should not apply to cross-origin frames, which is what WebKit already does.

Impact

If an attacker can convince a user to download an HTML file and scan a QR code within it, the contents of any text file can be exfiltrated and read by the attacker. The report's example is a fake ticket confirmation whose QR code is presented as the way to add the ticket to Google Wallet; scanning it exfiltrates the user's private key.

The researcher believes that with some work the attack could read out an entire id_ed25519 private key file. The QR code is already large enough to fit its contents, and the character reading could be developed further to read the whole file instead of just the first 40 characters. That full-file capability is stated as a belief about further work, not as something demonstrated.

The attack depends on the user downloading and opening the file and then scanning the QR code.

Fix

The researcher's suggestion is to make SVG filters not apply to cross-origin frames, matching WebKit's existing behaviour. The report does not describe a fix that was implemented.

  • Apply the same filter-based pixel reading to other cross-origin frame types (for example, framed documents served from a different origin) and check whether text can be reconstructed character by character. A positive result is a filter that reliably distinguishes characters from the rendered frame.
  • Extend the character-reading filter beyond the first 40 characters to cover a whole file. A positive result is a QR code or URL that carries the complete contents rather than a prefix.
  • Try the same technique against other local file types rendered in a frame, not just plain text. A positive result is any recoverable content from a file:// resource.
  • Test on other browsers to confirm the platform difference the report cites. A positive result is a browser where the filter does not read the cross-origin frame, which supports the proposed fix.

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. 13 min read.

What happened, in plain words

A security researcher found a way for a web page to read a file on your own computer and quietly send its contents to an attacker. The trick uses a feature of the browser called SVG filters, which are normally used to apply visual effects (blur, colour shifts, and so on) to images drawn on a page. The researcher showed that these filters can also look at pixels that come from somewhere else, such as another website, and work out what they contain.

The attack needs you to do two things: download an HTML file and open it, and then scan a QR code that the page shows you. If you do, the page can read a text file and encode what it reads into the QR code. Your phone scans the code, opens a web address, and that address carries the stolen text to the attacker's server.

The example in the report is a fake ticket confirmation. It looks like an order for a ticket, and it tells you to scan the QR code to add the ticket to Google Wallet. Scanning it sends your private key to the attacker.

This is a bug bounty report: a write-up sent to the company that makes the software (here, Google Chrome) describing a security problem, so the company can fix it and pay the reporter a reward. This one was reported through the Chrome Vulnerability Reward Program (Chrome VRP), credited to Lyra Rebane (rebane2001), rated medium severity, and paid a bounty of 2,000.00 USD. It was disclosed on 2026-07-29.

A few words you will meet throughout, explained once here:

  • SVG stands for Scalable Vector Graphics. It is a way of describing pictures with text: instead of storing a grid of coloured dots, an SVG file says things like "draw a circle here, fill it with this colour". Because it is text, browsers can process it in flexible ways, including applying filters.
  • SVG filter is an effect defined inside an SVG picture. A blur is a filter; so is a colour adjustment. Filters work by taking the pixels of something and transforming them.
  • Cross-origin means "coming from a different place". A web page is normally not allowed to read data from another site, because that would let any site spy on your logged-in sessions elsewhere. The browser enforces this with rules collectively called the same-origin policy. Think of it as a library rule: you may read the books on your own shelf, but not reach into someone else's bag.
  • iframe is a rectangular window inside a page that shows another page or file. Like a picture frame hung on a wall: the wall is your page, the picture inside the frame is separate content.
  • Pixel is one dot of a picture. If you can read pixels, you can read whatever was drawn, including text.
  • file:// URI is a web address that points at a file on your own computer rather than at a website. When you double-click an HTML file and it opens in your browser, the address bar shows something starting with file://.
  • HTML file is a document written in the language browsers understand. It can contain text, pictures, scripts and frames.
  • QR code is that square barcode made of black and white blocks. A camera app can read it and turn it into a web address or some text.
  • Base64 is a way of writing data using only 64 safe characters: the letters A to Z in both cases, the digits 0 to 9, and the symbols + and /. It is used because some systems can only carry text, not raw bytes. Think of it as spelling out a message using only the letters on a particular keyboard.
  • Private key is a long secret string that proves who you are in cryptographic systems (for example, when logging in to a server with SSH, or signing a transaction). If someone else gets it, they can pretend to be you. It is like the only key to your front door: you never hand it out.
  • id_ed25519 is the conventional file name for an SSH private key of the Ed25519 type. SSH is the protocol used to log in to remote machines; Ed25519 is one of the algorithms used to make those keys.
  • Exfiltration is the act of smuggling data out of a system to a place the attacker controls. The word is used for any channel: a network request, a URL, a QR code.
  • Clickjacking is a class of attack where the attacker hides or disguises something clickable so that you interact with it without realising what you are interacting with. The name comes from "hijacking a click". The researcher's earlier work applied this idea to SVG.

Context

This is a bug in Chrome's implementation of SVG filters. The report builds on the researcher's earlier SVG clickjacking technique, which showed that SVG filters can read cross-origin pixels and perform operations on them. Here the same capability is aimed at the browser itself and at local file paths.

The practical scenario: an attacker convinces a user to download an HTML file and scan a QR code shown inside it. The contents of a text file can then be exfiltrated and read by the attacker. The report's example is a fake order confirmation for a ticket, containing a QR code that the user is told to scan to add the ticket to Google Wallet. Scanning it exfiltrates the user's private key.

Why does this matter? Because the file being read does not have to be something the attacker planted. It can be a file that already exists on your computer, such as a key file. The attacker only needs you to open their page and point your phone at the screen.

Setup

The reproduction was done on:

  • Chrome Version: 145.0.7620.3 Dev
  • Operating System: Windows 10

"Dev" means a development build of Chrome, the version the browser team uses while working on the next release. It is not the ordinary stable version most people run.

Preconditions stated in the report:

  1. Windows 10.
  2. No custom colour profile (the Automatically manage colour for apps setting must be off).
  3. No display scaling (must be at 100%).

These conditions matter because the attack reads pixels off the screen. If the operating system changes colours or stretches the display, the pixels the filter sees are not the pixels the researcher calibrated for. It is like reading a code off a photocopy: if the copier shrinks or tints the page, the code may no longer be legible.

The researcher also wrote two SVG filters as proof of concept:

  • One that generates a QR code fitting roughly 365 bytes of data.
  • One that reads the entire base64 character set off an arbitrary text file inside an iframe.

A proof of concept (often shortened to PoC) is a small, working demonstration that the attack is real, not just theoretical. The first filter is the output side: it turns data into a scannable QR code. The second is the input side: it looks at a rendered text file and recognises characters from it.

Finding it

The starting point is the earlier SVG clickjacking technique: SVG filters can read cross-origin pixels and perform operations on them. The new observation is that this applies to the browser and to local file paths, so a page opened from file:// can read a text file inside an iframe and encode what it reads into a QR code that the user then scans with their phone.

In other words, the researcher connected two things that were not obviously connected: a browser feature meant for visual effects, and the fact that a local page can display another local file in a frame. The filter does the reading; the QR code does the sending.

The QR code scans well on the researcher's phone with the stock camera app. There it shows up as example.com, and tapping it opens the full URL in the browser. The user therefore does not see the data in the URL until it has already loaded and been sent to the attacker. The data could also be obfuscated; the researcher kept the same characters for the demo.

This is a small but important detail. A camera app usually shows only the domain of a scanned link, not the whole address. So even a careful user who glances at the phone sees a harmless-looking example.com. The stolen data is in the part of the address after the domain, which is only visible once the page has already been requested, and by then the attacker has it.

Exploitation

Step 1: Prepare the files

Download the attached files into the same folder. The demo page is fake-ticket-demo.html and it reads a file named secret.

Step 2: Plant the secret

Add your secret message into the secret file such that it matches the following pattern:

Text
[A-Za-z0-9+/]{40}

This is a regular expression, a compact way of describing a pattern of text. Read it piece by piece:

  • [A-Za-z0-9+/] means "one character that is a capital letter, a lowercase letter, a digit, or one of the two symbols + and /". Those are exactly the characters base64 uses.
  • {40} means "repeat the previous thing 40 times".

So the whole pattern means: exactly 40 characters from the base64 alphabet. That is 40 characters from the base64 alphabet, the character set the reading filter works with.

Step 3: Open the page from a local file

Open the fake-ticket-demo.html file directly in the browser, so that it opens on a file:// URI. This is the condition under which the demo is run.

Why does this matter? On the web, a page from one site is not allowed to read another site's content.

Step 4: Scan the generated QR code

Wait a moment, then scan the QR code on the page. It takes you to https://example.com?ref=, followed by some spaces and the contents of the secret file in reverse.

So the exfiltration channel is the URL itself: the secret is appended to the query string, reversed, and the user does not see the data until the URL has already loaded. The query string is the part of a web address after the ?. It is normally used to pass small pieces of information to a page, such as a search term. Here it is being used as a carrier for stolen data, because any request to a server carries its full address, including the query string, to that server.

Root cause

SVG filters are allowed to read cross-origin pixels and operate on them. When the framed content is a text file, that same capability lets the page sample the rendered text and reconstruct characters from it. The researcher's suggestion is that SVG filters should not apply to cross-origin frames, which is what WebKit already does.

WebKit is the browser engine used by Safari, among others. Saying that WebKit already behaves this way means the fix is not novel: another major browser has already decided that filters must not reach into frames from elsewhere. The researcher is asking Chrome to match that decision.

Impact

If an attacker can convince a user to download an HTML file and scan a QR code within it, the contents of any text file can be exfiltrated and read by the attacker. The report's example is a fake ticket confirmation whose QR code is presented as the way to add the ticket to Google Wallet; scanning it exfiltrates the user's private key.

The researcher believes that with some work the attack could read out an entire id_ed25519 private key file. The QR code is already large enough to fit its contents, and the character reading could be developed further to read the whole file instead of just the first 40 characters. That full-file capability is stated as a belief about further work, not as something demonstrated.

This distinction is worth keeping clear. The demo reads 40 characters. The researcher argues that the same approach, extended, could read a whole key file, because the QR code can already carry about 365 bytes and a key file is not much larger. But the report does not show that working end to end.

The attack depends on the user downloading and opening the file and then scanning the QR code. In security terms, it needs user interaction: the attacker cannot do it remotely without you.

Fix

The researcher's suggestion is to make SVG filters not apply to cross-origin frames, matching WebKit's existing behaviour. The report does not describe a fix that was implemented.

In plain terms: a filter should only be able to look at pixels that belong to the same place as the page using it. If the frame shows content from elsewhere, including a local file, the filter should not be able to sample it. That closes the reading channel without removing filters from ordinary pages.

The report lists follow-up ideas, each with a way to tell whether it worked:

  • Apply the same filter-based pixel reading to other cross-origin frame types (for example, framed documents served from a different origin) and check whether text can be reconstructed character by character. A positive result is a filter that reliably distinguishes characters from the rendered frame.
  • Extend the character-reading filter beyond the first 40 characters to cover a whole file. A positive result is a QR code or URL that carries the complete contents rather than a prefix.
  • Try the same technique against other local file types rendered in a frame, not just plain text. A positive result is any recoverable content from a file:// resource.
  • Test on other browsers to confirm the platform difference the report cites. A positive result is a browser where the filter does not read the cross-origin frame, which supports the proposed fix.

These are the kinds of questions a security team asks after reading a report: does it generalise, how far does it go, and does the proposed fix actually match what other browsers do?

Glossary

  • API: Application Programming Interface, a defined way for one piece of software to ask another to do something. Think of a restaurant menu: you order from it, you do not walk into the kitchen.
  • Base64: an encoding that represents data using 64 safe characters (A to Z, a to z, 0 to 9, +, /), so it can travel through systems that only handle text.
  • Bug bounty: a programme where a company pays researchers for reporting security problems in its software.
  • Chrome VRP: Chrome Vulnerability Reward Program, Google's bug bounty programme for Chrome.
  • Clickjacking: an attack that tricks you into interacting with something other than what you think you are interacting with.
  • Cross-origin: coming from a different site, domain or local context than the page that wants to use it.
  • CVSS: Common Vulnerability Scoring System, a standard way of scoring how severe a vulnerability is. This report has no CVSS score recorded.
  • Exfiltration: getting data out of a system to a place the attacker controls.
  • file:// URI: a web address that points at a file on your own computer instead of a website.
  • HTML: the language web pages are written in.
  • id_ed25519: the usual file name for an SSH private key using the Ed25519 algorithm.
  • iframe: a frame inside a page that displays another page or file.
  • Medium severity: a rating meaning the issue is real and worth fixing but is not the most serious category, often because it needs user interaction or specific conditions.
  • Obfuscation: making data harder for a human to recognise, without actually hiding it from a machine.
  • Pixel: one dot of a picture; reading pixels means reading what was drawn.
  • Private key: a long secret string that proves your identity in cryptographic systems; anyone who has it can act as you.
  • Proof of concept (PoC): a small working demonstration that an attack is possible.
  • QR code: a square barcode that a camera can read and turn into text or a web address.
  • Query string: the part of a web address after the ?, used to pass small pieces of data to a page.
  • Regular expression: a compact pattern language for describing text, such as "40 characters from this set".
  • Same-origin policy: the browser rule that stops one site from reading another site's data.
  • SSH: Secure Shell, a protocol for logging in to remote machines securely.
  • SVG: Scalable Vector Graphics, a text-based format for describing pictures.
  • SVG filter: an effect defined in SVG that transforms the pixels of whatever it is applied to.
  • User interaction: a step the victim has to perform, such as clicking, downloading or scanning, for an attack to work.
  • WebKit: a browser engine, used by Safari among others, which already blocks filters from reading cross-origin frames.

More by Lyra Rebane

View all

7 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.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.