{"id":2877,"date":"2024-06-05T06:05:31","date_gmt":"2024-06-05T13:05:31","guid":{"rendered":"https:\/\/blog.mozilla.org\/security\/?p=2877"},"modified":"2024-06-11T08:55:49","modified_gmt":"2024-06-11T15:55:49","slug":"firefox-will-upgrade-more-mixed-content-in-version-127","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/security\/2024\/06\/05\/firefox-will-upgrade-more-mixed-content-in-version-127\/","title":{"rendered":"Firefox will upgrade more Mixed Content in Version 127"},"content":{"rendered":"<p class=\"c1\">Most of the web already supports HTTPS: In fact, <span class=\"c3\"><a class=\"c5\" href=\"https:\/\/glam.telemetry.mozilla.org\/firefox\/probe\/http_transaction_is_ssl\/explore\">93% of requests made by Firefox are already HTTPS<\/a><\/span>. As a reminder, <span class=\"c3\"><a class=\"c5\" href=\"https:\/\/datatracker.ietf.org\/doc\/html\/rfc2818\">HTTP over TLS (HTTPS)<\/a><\/span><span class=\"c2\">\u00a0fixes the security shortcoming of HTTP by creating a secure and encrypted connection. Oftentimes, when web applications enable encryption with HTTPS on their servers, legacy content may still contain references using HTTP, even though that content would also be available over a secure and encrypted connection. When such a document gets loaded over HTTPS but subresources like images, audio and video are loaded using HTTP, it is referred to as \u201cmixed content\u201d.<\/span><\/p>\n<p class=\"c1\"><span class=\"c2\">Starting with version 127, Firefox is going to automatically upgrade audio, video, and image subresources from HTTP to HTTPS.<\/span><\/p>\n<h2 class=\"c1\"><span class=\"c0\">Background<\/span><\/h2>\n<p class=\"c1\">When introducing the notion of \u201c<span class=\"c3\"><a class=\"c5\" href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/Security\/Mixed_content\">mixed content<\/a><\/span>\u201d a long while ago, browsers used to make a fairly sharp distinction between active and passive mixed content: Loading scripts or iframes over HTTP can be really detrimental to the whole document\u2019s security and has long since been blocked as \u201cactive mixed content\u201d. Images and other resources were otherwise called \u201cpassive\u201d or \u201cdisplay\u201d mixed content. If a network attacker could modify them, they would not gain full control over the document. So, in hope of <span class=\"c3\"><a class=\"c5\" href=\"https:\/\/www.w3.org\/TR\/html-design-principles\/#support-existing-content\">supporting most existing content<\/a><\/span><span class=\"c2\">, passive content had been allowed to load insecurely, albeit with a warning in the address bar.<\/span><\/p>\n<p class=\"c8\"><img decoding=\"async\" title=\"\" src=\"file:\/\/\/Users\/freddy\/tmp\/blog%20post%20-%20Shipping%20Mixed%20Content%20Level%202\/images\/image2.png\" alt=\"\" \/><\/p>\n<div id=\"attachment_2879\" style=\"width: 2009px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blog.mozilla.org\/security\/files\/2024\/06\/image2.png\"><img aria-describedby=\"caption-attachment-2879\" decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-2879\" src=\"https:\/\/blog.mozilla.org\/security\/files\/2024\/06\/image2.png\" alt=\"Previous behavior, without upgrading: Degraded lock icon, with a warning sign in the lower right corner.\" width=\"1999\" height=\"730\" srcset=\"https:\/\/blog.mozilla.org\/security\/files\/2024\/06\/image2.png 1999w, https:\/\/blog.mozilla.org\/security\/files\/2024\/06\/image2-300x110.png 300w, https:\/\/blog.mozilla.org\/security\/files\/2024\/06\/image2-600x219.png 600w, https:\/\/blog.mozilla.org\/security\/files\/2024\/06\/image2-768x280.png 768w, https:\/\/blog.mozilla.org\/security\/files\/2024\/06\/image2-1536x561.png 1536w, https:\/\/blog.mozilla.org\/security\/files\/2024\/06\/image2-1000x365.png 1000w\" sizes=\"(max-width: 1999px) 100vw, 1999px\" \/><\/a><p id=\"caption-attachment-2879\" class=\"wp-caption-text\">Previous behavior, without upgrading: Degraded lock icon, with a warning sign in the lower right corner.<\/p><\/div>\n<p class=\"c1\">With the web platform supporting many new and exciting forms of content (e.g., <span class=\"c3\"><a class=\"c5\" href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Learn\/HTML\/Multimedia_and_embedding\/Responsive_images\">responsive images<\/a><\/span>), that notion became a bit blurry: Responsive images are not active in a sense that a malicious responsive image can take over the whole web page. However, with an impetus toward a more secure web, since 2018, <span class=\"c3\"><a class=\"c5\" href=\"https:\/\/blog.mozilla.org\/security\/2018\/01\/15\/secure-contexts-everywhere\/\">we require that new features are only available when using HTTPS<\/a><\/span><span class=\"c2\">.<\/span><\/p>\n<h2 class=\"c1\"><span class=\"c0\">Upgradable and blockable mixed content<\/span><\/h2>\n<p class=\"c1\">Given these blurry lines between active and passive mixed content, the latest revision of the <span class=\"c3\"><a class=\"c5\" href=\"https:\/\/w3c.github.io\/webappsec-mixed-content\/\">Mixed content standard<\/a><\/span>\u00a0distinguishes between blockable and upgradable content, where scripts, iframes, responsive images and really all other features are considered blockable. The formerly-called passive content types (<code><span class=\"c11\">&lt;img&gt;<\/span><\/code>, <code><span class=\"c11\">&lt;audio&gt;<\/span><\/code>\u00a0and <code><span class=\"c11\">&lt;video&gt;<\/span><\/code><span class=\"c2\">\u00a0elements) are now being upgraded by the browser to use HTTPS and are not loaded if they are unavailable via HTTPS.<\/span><\/p>\n<p class=\"c1\"><span class=\"c2\">This also introduces a behavior change in our security indicators: Firefox will no longer make use of the tiny warning sign in the lower right corner of the lock icon:<\/span><\/p>\n<div id=\"attachment_2880\" style=\"width: 2009px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blog.mozilla.org\/security\/files\/2024\/06\/image1.png\"><img aria-describedby=\"caption-attachment-2880\" decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-2880\" src=\"https:\/\/blog.mozilla.org\/security\/files\/2024\/06\/image1.png\" alt=\"After our change. A fully secure lock icon. The image load was successfully upgraded or failed (e.g. Connection Reset)\" width=\"1999\" height=\"730\" srcset=\"https:\/\/blog.mozilla.org\/security\/files\/2024\/06\/image1.png 1999w, https:\/\/blog.mozilla.org\/security\/files\/2024\/06\/image1-300x110.png 300w, https:\/\/blog.mozilla.org\/security\/files\/2024\/06\/image1-600x219.png 600w, https:\/\/blog.mozilla.org\/security\/files\/2024\/06\/image1-768x280.png 768w, https:\/\/blog.mozilla.org\/security\/files\/2024\/06\/image1-1536x561.png 1536w, https:\/\/blog.mozilla.org\/security\/files\/2024\/06\/image1-1000x365.png 1000w\" sizes=\"(max-width: 1999px) 100vw, 1999px\" \/><\/a><p id=\"caption-attachment-2880\" class=\"wp-caption-text\">After our change. A fully secure lock icon. The image load was successfully upgraded or failed (e.g., Connection Reset).<\/p><\/div>\n<p class=\"c1\">With Firefox 127, all mixed content will either be blocked or upgraded. Making sure that documents transferred with HTTPS remain fully secure and encrypted.<\/p>\n<h2 class=\"c1\"><span class=\"c0\">Enterprise Users<\/span><\/h2>\n<p class=\"c1\"><span class=\"c2\">Enterprise users that do not want Firefox to perform an upgrade have the following options by changing the existing preferences:<\/span><\/p>\n<ul class=\"c12 lst-kix_argb0s3apodo-0 start\">\n<li class=\"c1 c13 li-bullet-0\"><span class=\"c2\">Set <code>security.mixed_content.upgrade_display_content<\/code> to <code>false<\/code>, such that Firefox will continue displaying mixed content insecurely (including the degraded lock icon from the first picture).<\/span><\/li>\n<li class=\"c1 c13 li-bullet-0\">Set <code>security.mixed_content.block_display_content<\/code> to <code>true<\/code>, such that Firefox will block <span class=\"c10\">all<\/span>\u00a0mixed content (including upgradable).<\/li>\n<\/ul>\n<p class=\"c1\">Reasons for changing these preferences might include legacy infrastructure that does not support a secure HTTPS experience. We want to note that neither of these options are recommended because with those, Firefox would deviate from an interoperable web platform. Furthermore, these preferences do not receive the amount of support, scrutiny and quality assurance as those available in our <span class=\"c3\"><a class=\"c5\" href=\"https:\/\/support.mozilla.org\/en-US\/kb\/firefox-options-preferences-and-settings\">built-in settings page<\/a><\/span><span class=\"c2\">.<\/span><\/p>\n<h2 class=\"c1\"><span class=\"c0\">Outlook<\/span><\/h2>\n<p class=\"c1\">We will continue our mission where privacy and security is not optional, to bring yet more HTTPS to the web: Next up, we are going to default all addresses from the URL bar to prefer HTTPS, with a fallback to HTTP if the site does not load securely. This feature is already available in <span class=\"c3\"><a class=\"c5\" href=\"https:\/\/www.mozilla.org\/en-US\/firefox\/channel\/desktop\/#nightly\">Firefox Nightly<\/a><\/span><span class=\"c2\">.<\/span><\/p>\n<p class=\"c1\">We are also working on another iteration that upgrades more page loads with a fallback called \u201cHTTPS-First\u201d that should be in Firefox Nightly soon. Lastly, security-conscious users with a higher desire to not expose <span class=\"c15\">any<\/span>\u00a0of their traffic to the network over HTTP can already make use of our strict <span class=\"c3\"><a class=\"c5\" href=\"https:\/\/support.mozilla.org\/en-US\/kb\/https-only-prefs\">HTTPS-Only <\/a><\/span>Mode,<span class=\"c2\">\u00a0which is available through Firefox settings. It requires all resource loads to happen over HTTPS or else be blocked.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Most of the web already supports HTTPS: In fact, 93% of requests made by Firefox are already HTTPS. As a reminder, HTTP over TLS (HTTPS)\u00a0fixes the security shortcoming of HTTP &hellip; <a class=\"go\" href=\"https:\/\/blog.mozilla.org\/security\/2024\/06\/05\/firefox-will-upgrade-more-mixed-content-in-version-127\/\">Read more<\/a><\/p>\n","protected":false},"author":405,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[47,30,69],"tags":[],"coauthors":[280726,466110,466111,280776],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Firefox will upgrade more Mixed Content in Version 127 - Mozilla Security Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.mozilla.org\/security\/2024\/06\/05\/firefox-will-upgrade-more-mixed-content-in-version-127\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Frederik Braun, Malte J\u00fcrgens, Simon Friedberger, Christoph Kerschbaumer\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.mozilla.org\/security\/2024\/06\/05\/firefox-will-upgrade-more-mixed-content-in-version-127\/\",\"url\":\"https:\/\/blog.mozilla.org\/security\/2024\/06\/05\/firefox-will-upgrade-more-mixed-content-in-version-127\/\",\"name\":\"Firefox will upgrade more Mixed Content in Version 127 - Mozilla Security Blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.mozilla.org\/security\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/blog.mozilla.org\/security\/2024\/06\/05\/firefox-will-upgrade-more-mixed-content-in-version-127\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/blog.mozilla.org\/security\/2024\/06\/05\/firefox-will-upgrade-more-mixed-content-in-version-127\/#primaryimage\"},\"thumbnailUrl\":\"file:\/\/\/Users\/freddy\/tmp\/blog%20post%20-%20Shipping%20Mixed%20Content%20Level%202\/images\/image2.png\",\"datePublished\":\"2024-06-05T13:05:31+00:00\",\"dateModified\":\"2024-06-11T15:55:49+00:00\",\"author\":{\"@id\":\"https:\/\/blog.mozilla.org\/security\/#\/schema\/person\/9a9b6565cbac3c698b84dbd7447e438f\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.mozilla.org\/security\/2024\/06\/05\/firefox-will-upgrade-more-mixed-content-in-version-127\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.mozilla.org\/security\/2024\/06\/05\/firefox-will-upgrade-more-mixed-content-in-version-127\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.mozilla.org\/security\/2024\/06\/05\/firefox-will-upgrade-more-mixed-content-in-version-127\/#primaryimage\",\"url\":\"file:\/\/\/Users\/freddy\/tmp\/blog%20post%20-%20Shipping%20Mixed%20Content%20Level%202\/images\/image2.png\",\"contentUrl\":\"file:\/\/\/Users\/freddy\/tmp\/blog%20post%20-%20Shipping%20Mixed%20Content%20Level%202\/images\/image2.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.mozilla.org\/security\/2024\/06\/05\/firefox-will-upgrade-more-mixed-content-in-version-127\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.mozilla.org\/security\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Firefox will upgrade more Mixed Content in Version 127\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.mozilla.org\/security\/#website\",\"url\":\"https:\/\/blog.mozilla.org\/security\/\",\"name\":\"Mozilla Security Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.mozilla.org\/security\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.mozilla.org\/security\/#\/schema\/person\/9a9b6565cbac3c698b84dbd7447e438f\",\"name\":\"Frederik Braun\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.mozilla.org\/security\/#\/schema\/person\/image\/f188d5ece9062fd6ec08fbeb06809792\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1f41f3ef916e1c1fc9401cf3212a6708?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1f41f3ef916e1c1fc9401cf3212a6708?s=96&d=identicon&r=g\",\"caption\":\"Frederik Braun\"},\"description\":\"Frederik Braun defends Mozilla Firefox as a Staff Security Engineer in Berlin. He's also a member of the W3C Web Application Security Working Group and co-authored the Subresource Integrity standard.\",\"sameAs\":[\"https:\/\/frederik-braun.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Firefox will upgrade more Mixed Content in Version 127 - Mozilla Security Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.mozilla.org\/security\/2024\/06\/05\/firefox-will-upgrade-more-mixed-content-in-version-127\/","twitter_misc":{"Written by":"Frederik Braun, Malte J\u00fcrgens, Simon Friedberger, Christoph Kerschbaumer","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/blog.mozilla.org\/security\/2024\/06\/05\/firefox-will-upgrade-more-mixed-content-in-version-127\/","url":"https:\/\/blog.mozilla.org\/security\/2024\/06\/05\/firefox-will-upgrade-more-mixed-content-in-version-127\/","name":"Firefox will upgrade more Mixed Content in Version 127 - Mozilla Security Blog","isPartOf":{"@id":"https:\/\/blog.mozilla.org\/security\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.mozilla.org\/security\/2024\/06\/05\/firefox-will-upgrade-more-mixed-content-in-version-127\/#primaryimage"},"image":{"@id":"https:\/\/blog.mozilla.org\/security\/2024\/06\/05\/firefox-will-upgrade-more-mixed-content-in-version-127\/#primaryimage"},"thumbnailUrl":"file:\/\/\/Users\/freddy\/tmp\/blog%20post%20-%20Shipping%20Mixed%20Content%20Level%202\/images\/image2.png","datePublished":"2024-06-05T13:05:31+00:00","dateModified":"2024-06-11T15:55:49+00:00","author":{"@id":"https:\/\/blog.mozilla.org\/security\/#\/schema\/person\/9a9b6565cbac3c698b84dbd7447e438f"},"breadcrumb":{"@id":"https:\/\/blog.mozilla.org\/security\/2024\/06\/05\/firefox-will-upgrade-more-mixed-content-in-version-127\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.mozilla.org\/security\/2024\/06\/05\/firefox-will-upgrade-more-mixed-content-in-version-127\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.mozilla.org\/security\/2024\/06\/05\/firefox-will-upgrade-more-mixed-content-in-version-127\/#primaryimage","url":"file:\/\/\/Users\/freddy\/tmp\/blog%20post%20-%20Shipping%20Mixed%20Content%20Level%202\/images\/image2.png","contentUrl":"file:\/\/\/Users\/freddy\/tmp\/blog%20post%20-%20Shipping%20Mixed%20Content%20Level%202\/images\/image2.png"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.mozilla.org\/security\/2024\/06\/05\/firefox-will-upgrade-more-mixed-content-in-version-127\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.mozilla.org\/security\/"},{"@type":"ListItem","position":2,"name":"Firefox will upgrade more Mixed Content in Version 127"}]},{"@type":"WebSite","@id":"https:\/\/blog.mozilla.org\/security\/#website","url":"https:\/\/blog.mozilla.org\/security\/","name":"Mozilla Security Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.mozilla.org\/security\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blog.mozilla.org\/security\/#\/schema\/person\/9a9b6565cbac3c698b84dbd7447e438f","name":"Frederik Braun","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.mozilla.org\/security\/#\/schema\/person\/image\/f188d5ece9062fd6ec08fbeb06809792","url":"https:\/\/secure.gravatar.com\/avatar\/1f41f3ef916e1c1fc9401cf3212a6708?s=96&d=identicon&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1f41f3ef916e1c1fc9401cf3212a6708?s=96&d=identicon&r=g","caption":"Frederik Braun"},"description":"Frederik Braun defends Mozilla Firefox as a Staff Security Engineer in Berlin. He's also a member of the W3C Web Application Security Working Group and co-authored the Subresource Integrity standard.","sameAs":["https:\/\/frederik-braun.com"]}]}},"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/security\/wp-json\/wp\/v2\/posts\/2877"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/security\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/security\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/security\/wp-json\/wp\/v2\/users\/405"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/security\/wp-json\/wp\/v2\/comments?post=2877"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/security\/wp-json\/wp\/v2\/posts\/2877\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/security\/wp-json\/wp\/v2\/media?parent=2877"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/security\/wp-json\/wp\/v2\/categories?post=2877"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/security\/wp-json\/wp\/v2\/tags?post=2877"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/blog.mozilla.org\/security\/wp-json\/wp\/v2\/coauthors?post=2877"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}