Firefox for iOS directly interpolated the page HTML language attribute into translation JavaScript. This allows attacker-controlled markup to execute code within the privileged content world of the browser and bypass the Content Security Policy (CSP), a security layer that helps detect and mitigate certain types of attacks, including cross-site scripting and data injection.