In Summer ’26, we made an update to the markup://ltng:require Aura component that fixed a security vulnerability. This fix restricted scripts that reference URLs to only support URLs that match the page origin. All external absolute URLs are rejected.
If your org uses absolute URLs with ltng:require, the Summer ‘26 fix can cause the component to not work properly.
One workaround for this script restriction on external absolute URLs being rejected is to update your scripts and styles to use relative URLs (/resource/scriptName) instead where possible.
In some orgs, if the AuraSecStaticResCRUCPerm and AuraSecStaticResCRUCPref settings are enabled, the $Resource resolves to the VF domain, which may differ from the page origin. Contact Salesforce Customer Support to disable these settings if you’re encountering this issue.
We’re working on a fix that will allow external absolute URLs if they’re in the Lightning or VF domain, or if they’re in your list of Trusted URLs in Setup.
In anticipation of the upcoming fix, we recommend that you add any external absolute URL you want to keep using with this component to the Trusted URLs list.
Lightning Aura Components Developer Guide: Using External CSS
Lightning Component Reference: Require | Legacy Components
005390235

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.