Skip to main content
Meowdit

Subresource Integrity (SRI) Not Implemented: Explained

A subresource integrity (sri) not implemented finding means your page loads third-party scripts or stylesheets without giving the browser a cryptographic hash to verify them. If that external CDN or library host is ever compromised, browsers will still run the tampered file with full access to your page, exposing visitor data or forms. SRI makes the browser refuse any file whose fingerprint does not match.

What it is

Scripts or stylesheets loaded from other domains aren't pinned to a known fingerprint.

Why it matters

If that third-party host is compromised, its modified file runs on your site with full access. SRI makes the browser refuse a changed file.

Meowdit rates this high risk.

How to tell if your site has it

  • Open your browser developer tools, inspect the Elements tab or page source, and list every script and stylesheet link tag pointing to another domain.
  • Check whether each cross-origin tag includes an integrity attribute (starting with a hash prefix such as sha256, sha384 or sha512) along with a crossorigin attribute.
  • Separate version-pinned libraries from live third-party scripts such as analytics or chat widgets, because live scripts change without notice.
  • Other scanners often report this as 'Subresource Integrity (SRI) not implemented' or 'Missing integrity attribute on external resource'.

Fix direction

For version-pinned third-party scripts and stylesheets, add integrity hashes and cross-origin attributes in your templates, and tie hash updates to your dependency upgrade routine. For dynamic vendor scripts that cannot be pinned, document them as reviewed exceptions or self-host where appropriate, with full site-specific steps in your scan report.

A scan gives you the steps specific to your site, plus a fix prompt you can paste into an AI tool. See what a report looks like: View the public example report

FAQ

What happens if a third-party file changes when SRI is enabled?
The browser computes the hash of the downloaded file and refuses to execute or apply it if it does not match, logging an error to the console. That blocks tampered code, though forgetting to update the hash when bumping a library version will also prevent the asset from loading.
Why can't analytics tags or live widgets use SRI easily?
Vendors frequently update those scripts in place at the same URL without warning. Pinning a hash on a moving URL causes browsers to block the script as soon as the vendor ships a minor change, whereas versioned library URLs or self-hosted assets stay stable.
Do scripts hosted on my own domain need SRI?
SRI is designed to defend against compromised external hosts. If an attacker can alter files on your own origin, they can usually alter the HTML document as well, which is why scanners focus this check on cross-origin resources.

References

Related checks

Related guides

All checks · View the public example report

This page was written and checked by AI and has not been reviewed by a person, so please verify before applying; see About Meowdit. Last updated: 2026-11-22