CSP reporting endpoint configured
Why it matters
Without a CSP reporting endpoint, policy violations — whether from a blocking misconfiguration or an active injection attempt — are silently swallowed. You have no visibility into resources your CSP is blocking for legitimate users (causing silent breakage) or into attack probes testing your policy's edges. CWE-693 applies: a protection mechanism with no feedback loop cannot be maintained or improved. OWASP A05 (Security Misconfiguration) calls out absence of security monitoring as a configuration failure — deploying CSP without reporting is operationally equivalent to deploying a firewall with no logs.
Severity rationale
Low in direct exploit impact, but a CSP without reporting cannot be operationally maintained — violations from both attacks and misconfigurations go undetected indefinitely.
Remediation
Add a report-uri or report-to directive pointing to a violation collection endpoint. Free options include report-uri.com; Sentry and Datadog also accept CSP reports.
Content-Security-Policy:
default-src 'self';
script-src 'nonce-{perRequest}' 'strict-dynamic';
report-uri /api/csp-report;
report-to csp-endpoint
For zero-friction monitoring while tightening policy, start with Content-Security-Policy-Report-Only using the same directives — violations are reported but not blocked, letting you audit without breaking production users.
DetectionPro
The detection method for this pattern is part of AuditBuffet Pro.
The full method (what to look for, pass and fail conditions, and how results get reported) ships inside the Security Headers II Audit. The pattern definition, severity rationale, and remediation remain openly licensed under CC-BY-4.0.
External references
- cwe · CWE-693
- owasp:2021 · A05
Taxons
History
- 2026-04-18·v1.0.0·Initial import from security-headers-ii·automated