In short
Semrush notices "Broken external JavaScript and CSS files" when files your pages load from other domains return errors. Common causes are an old CDN version link, a discontinued service, or a widget you stopped paying for. Update the link to a working version, self-host the file, or remove the reference.
When an external script fails, whatever depended on it stops working.
How to fix it
Open DevTools > Console on a flagged page; failed files show in red.
For library files (jQuery, fonts, icon sets), link a current version or host it yourself.
For old services or widgets, remove the embed code.
WordPress: often in theme options "header scripts" boxes or old plugins. Shopify: leftover app snippets in theme.liquid after uninstalling an app. Webflow and Wix: custom code areas in site or page settings.
This guide isn't affiliated with or endorsed by Semrush.
Related issues
Sources and references
Semrush Knowledge Base, What Issues Can Site Audit Identify?

About the author
Nazmul Nikhil
Head of SEO & Assistant Manager, Digital Marketing at Notionhive
SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.



