Policy bypass in Audio (CVE-2026-5896)
A sandboxed iframe without the allow-downloads flag could still initiate a download via a clickjacking attack on the audio player's download option. An attacker could trick a user into clicking twice to download an arbitrary file, potentially leading to malware execution.
Originally disclosed on Chrome VRP
- Fix shipped in 2.9 years
VULNERABILITY DETAILS
A sandboxed iframe is not supposed to be able to initiate a download unless the "allow-downloads" flag is set. However, it is possible to make the user click on the "Download" option of the audio player through a clickjacking attack, which ends up downloading a file.
An arbitrary file can be made to be downloaded by performing a server-side redirect when the user tries to download the original audio file.
The "Download" option should be checking whether the iframe is sandboxed and contains the proper flags before deciding whether the download should initiate.
For the attack to work, it requires the victim to click twice inside a malicious iframe. In a real attack, there would be buttons placed over the video player to trick the user into clicking on the "three dots" and the "Download" option. The PoC just places opacity over the iframe to demonstrate that it would be possible to do that.
For reference, this issue is similar to https://crbug.com/chromium/1100761, albeit more severe as this issue doesn't require any additional sandbox permission to work.
I have attached a video (repro.mkv) reproducing the attack.
VERSION
Chrome Version:
113.0.5672.92 (Official Build) stable (64-bit)
114.0.5735.26 (Official Build) beta (64-bit)
115.0.5762.4 (Official Build) dev (64-bit)
Operating System:
Ubuntu 20.04
REPRODUCTION CASE
- Download "index.html", "iframe.html", "iframe2.html", "horse.ogg", "file.txt", "download.php" and place them in the same directory.
- Run the "php -S 0:8000" command in the directory the files were downloaded to.
- Access http://localhost:8000/
- Click on the "three dots" and then on the "Download" option, which will download a file even though the iframe doesn't have the "allow-downloads" flag set.
CREDIT INFORMATION
Reporter credit: Luan Herrera (@lbherrera_)
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 audio player's download option does not check whether the iframe is sandboxed and lacks the allow-downloads flag before initiating a download.
Impact
An attacker could trick a user into downloading an arbitrary file, potentially leading to malware execution, though the attack requires two clicks and user interaction.
What the attacker needed
Victim clicks twice on malicious iframe; attacker controls iframe content
How it was found
- Download the provided files and place them in the same directory.
- Run a PHP server in that directory.
- Access the local server in a browser.
- Click the three dots and then the Download option, which downloads a file despite the iframe lacking the allow-downloads flag.
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 sandboxed iframe is a web page embedded in another page with restricted permissions, like not being allowed to start downloads. This report shows that an attacker could overlay invisible buttons on the audio player so that when a user clicks, they actually click the download option, bypassing the restriction. The user must click twice, but it could be used to download malicious files.
What is UI spoofing?
The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.