← Back to release summary

CSP3: unsafe-hashes

Category
Security
Type
New or changed feature
Status
Enabled by default (Chrome 69)
Intent stage
None

Summary

'unsafe-hashes' is a feature in CSP3 which allows developers to enable specific event handlers without needing to use the less safe 'unsafe-inline' keyword. If 'unsafe-hashes' is present, inline event handlers are allowed to match against hashes specified by the 'script-src' directive (or its fallback if not present).

Standards & signals

View on chromestatus.com