logo

Database

Http Third Party Resource Without Sri

Description

Detects third-party JavaScript resources loaded from known CDNs and services (like Cloudflare, New Relic, Cookiebot) that lack Subresource Integrity (SRI) protection. Missing SRI leaves applications vulnerable to compromised or malicious script content if the third-party source is compromised.

Weakness:

086 - Missing subresource integrity check

Category: Deceptive Interactions

Detection Strategy

    Examines <script> tags in the HTML response

    Checks if the script source (src) domain matches known third-party providers (cloudflare.com, newrelic.com, cookiebot.com, etc.)

    Reports a vulnerability if either the 'integrity' attribute is missing or the 'crossorigin' attribute is not set

    Only triggers for external scripts loaded from specific trusted CDNs and service providers