Insufficient policy enforcement in Chrome for iOS (CVE-2026-11277)
In iOS Chrome, the Reader Mode WebState delegate unconditionally allows media permission prompts, bypassing parental control blocks. Reader Mode distillation also fails to sanitise inline event handlers and lacks a CSP, so a malicious page can execute scripts in Reader Mode and trigger camera/microphone permission prompts for supervised users.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 52 days
Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports without the Chrome Security team.
Overview: In iOS Chrome, the Reader Mode WebState delegate unconditionally allows media permission prompts, bypassing parental control blocks. Furthermore, Reader Mode distillation does not sanitize inline event handlers and lacks a Content Security Policy (CSP). This allows a malicious page to execute scripts in Reader Mode and trigger camera/microphone permission prompts for supervised users.
Affected files:
ios/chrome/browser/reader_mode/model/reader_mode_web_state_delegate.mmios/chrome/browser/reader_mode/model/reader_mode_content_tab_helper.mmios/chrome/browser/web/model/web_state_delegate_browser_agent.mm
Estimated timestamp from git blame: 2025-07-28
Description
A potential vulnerability exists in iOS Chrome where supervised users can bypass parental "Block" settings for Camera and Microphone permissions by using Reader Mode.
When a page is distilled for Reader Mode, Chrome utilizes a modified version of Readability.js (third_party/readability/modded_src/Readability.js). While this script strips out <script> tags, it does not sanitize inline event handlers such as onerror on <img> tags. Subsequently, ReaderModeDistillerViewer::OnArticleReady wraps the distilled content in an HTML template via GetArticleTemplateHtml. Because it passes use_offline_data=false, no Content Security Policy (CSP) is injected into the template to prevent inline script execution.
The resulting HTML is loaded into a secondary WebState using LoadData, maintaining the attacker's original URL. This WebState uses ReaderModeWebStateDelegate, which implements HandlePermissionsDecisionRequest by unconditionally returning web::PermissionDecisionShowDefaultPrompt. This skips the IsMicOrCameraAccessSubjectToParentalControls check that is correctly enforced by the standard WebStateDelegateBrowserAgent.
As a result, a script executing via an inline event handler in Reader Mode can call navigator.mediaDevices.getUserMedia(), bypassing the silent parental block and presenting the child with a native iOS permission prompt. If the child taps "Allow", the attacker's origin is granted access.
Potential Reproduction Steps
(Note: These are suggested steps based on code analysis; our tooling agent does not yet have the ability to run code to provide a working proof of concept).
- Configure a supervised Chrome profile (via Family Link) on an iOS device, setting Camera and Microphone permissions to 'Block'.
- Host an HTTPS page eligible for Reader Mode containing a payload like:
{{media:0}}. - Navigate to the page on the supervised iOS device and enter Reader Mode.
- Observe that the
onerrorhandler executes and triggers a native iOS permission prompt (e.g., '"attacker.com" Would Like to Access the Camera'). - Tapping 'Allow' grants the permission, bypassing the intended parental block.
Suggested Fix
- Enforce Parental Controls in Reader Mode: Update
ReaderModeWebStateDelegate::HandlePermissionsDecisionRequestto either perform theIsMicOrCameraAccessSubjectToParentalControlscheck directly or forward the permission request to theoriginal_web_state_'s delegate to ensure consistent policy enforcement. - Enforce CSP in Reader Mode: Consider injecting a strict Content Security Policy for iOS Reader Mode (e.g., by modifying how
GetArticleTemplateHtmlhandles CSP injection) to proactively block inline scripts (unsafe-inline) from executing in distilled content.
Evaluated with Chrome root at commit: 096fc8fdbfacf2546485756d03f160a3d04fcc9b
Results so far have been promising, but there can be wrong deductions. If this proves to be a false positive, please close as WAI; data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.
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 Reader Mode WebState delegate returns a default permission prompt without checking parental controls, and the distilled content lacks a CSP and sanitisation of inline event handlers.
Impact
A malicious page could bypass parental blocks and, if the child taps Allow, grant the attacker's origin access to the camera or microphone.
What the attacker needed
Supervised iOS device with Family Link; camera/microphone set to Block; victim enters Reader Mode; victim taps Allow on prompt
The fix
The Reader Mode delegate should enforce parental controls and a strict CSP should be injected to block inline scripts.
How it was found
- Configure a supervised Chrome profile on iOS with Camera and Microphone set to Block.
- Host an HTTPS page eligible for Reader Mode containing a payload.
- Navigate to the page on the supervised device and enter Reader Mode.
- Observe the inline event handler execute and trigger a native permission prompt.
- Tap Allow to grant permission, bypassing the parental block.
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.
Parental controls on iOS can block camera and microphone access for children. In Chrome's Reader Mode, a special simplified view of a page, the code that asks for permission ignores those blocks. A malicious page could run a small script that asks for camera access, and if the child taps Allow, the attacker gets access.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.