Summary

Content-Security-Policy-Report-Only cannot be declared without report-uri directive, because of that it will send the violations to the defined URL.

Content-Security-Policy-Report-Only: script-src 'self'; report-uri https://www.example.com;

 

Actions To Take

  • If you want to use one of the CSP in report only mode, you should declare with a report-uri

Severity

Information

Classification

CWE-16 ISO27001-A.14.2.5 WASC-15 OWASP 2013-A5 OWASP 2017-A6