**CVE-2025–27425 :: Scan, Click, Compromise: The Hidden Danger in Firefox’s QR Code Handling**
Firefox for iOS opened a website URL embedded in a scanned QR code without first showing the user a confirmation alert. An attacker could use a crafted QR code to send a victim to a link of their choosing without any prompt or preview.
Published on khannaabhinav.medium.com
Earlier this year, while reviewing historical CVEs in search of some inspiration, I found myself looking for something outside the usual scope of web application vulnerabilities. I wanted to push the boundaries and explore how vulnerabilities manifest in more user-facing technologies — especially in environments…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the QR code handling in Firefox for iOS passed the decoded URL straight to navigation without a confirmation step for certain encoded input.
Impact
A victim who scans a crafted QR code could be sent to an attacker-chosen site without any warning, which could aid phishing or unwanted redirection.
What the attacker needed
Firefox for iOS before version 136; victim scans a crafted QR code
The fix
The issue was fixed in Firefox for iOS version 136, released in February 2025.
How it was found
- Create a manipulated QR code whose URL uses irregular encoding.
- Scan the QR code with Firefox for iOS.
- Observe that the browser opens the link immediately with no prompt or preview.
- Compare the behaviour against other mobile browsers.
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 write-up has not been written yet. The Original tab links to the source.
A QR code can hold a web address. Normally a phone browser should ask you before opening a link from a scan, so you can decide whether to trust it. In this case Firefox for iOS skipped that question and went straight to the site, which makes tricking someone into visiting a malicious page easier.
What is Open redirect?
A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.