Arbitrary JavaScript execution in Reader View due to wrong HTML replacement order
Mozilla Firefox for iOS
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Mozilla Firefox for iOS | — |
|
Original description
Firefox for iOS Reader View replaced page content in its HTML template before replacing other internal placeholders. A malicious page could include a placeholder string that was later substituted with JSON-LD data, potentially resulting in arbitrary JavaScript execution. This vulnerability was fixed in Firefox for iOS 151.2.
From the CVE record · mozilla