CVE-2026-9308
Description
Firefox for iOS Reader View is vulnerable to arbitrary JavaScript execution due to improper placeholder replacement order in its HTML template.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Firefox for iOS Reader View is vulnerable to arbitrary JavaScript execution due to improper placeholder replacement order in its HTML template.
Vulnerability
Firefox for iOS Reader View contains a flaw in its HTML template processing logic where page content is replaced before internal placeholders. This incorrect order allows a malicious webpage to include a specific placeholder string that is subsequently substituted with JSON-LD data, leading to an injection vulnerability [1]. This issue affects versions of Firefox for iOS prior to 151.2 [1].
Exploitation
An attacker can exploit this vulnerability by crafting a malicious webpage containing a specially formatted placeholder string. When a user views this page using the Reader View feature in an affected version of Firefox for iOS, the browser processes the template incorrectly, causing the injected JSON-LD data to be interpreted as executable code within the context of the Reader View [1].
Impact
Successful exploitation of this vulnerability allows an attacker to achieve arbitrary JavaScript execution within the context of the Reader View [1]. This compromise can potentially lead to unauthorized actions or data access within the browser's internal environment, depending on the privileges associated with the Reader View origin.
Mitigation
This vulnerability was addressed in Firefox for iOS 151.2, released on June 1, 2026 [1]. Users are advised to update their application to this version or later to remediate the security risk.
AI Insight generated on Jun 1, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1- Range: <151.2
Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
2News mentions
0No linked articles in our index yet.