Subresource Integrity (SRI)
A browser feature that verifies fetched resources match expected hashes, preventing CDN tampering.
How it works
A browser feature that verifies fetched resources match expected hashes, preventing CDN tampering.
In WordPress
WordPress 5.7+ supports SRI for scripts. Use the integrity attribute when enqueuing scripts from external CDNs.
Related terms
WP HealthKit checks for Subresource Integrity (SRI)-related vulnerabilities automatically
Run a Free Audit