CSP hash expressions can match external scripts.

CSP3 allows hash expressions to match external scripts, by relying on SRI as underlying infrastructure. That is, given `Content-Security-Policy: script-src 'sha256-abc123' 'sha512-321cba'`, `<script integrity="sha256-abc123" ...></script>` will be allowed.


Working draft or equivalent

Status in Chromium

In development (launch bug)

Consensus & Standardization

  • Public support
  • No public signals
  • No public signals
  • Positive


Last updated on 2017-03-29