Finding library

    Missing header: Content-Security-Policy

    WebMedium

    The site sends no Content-Security-Policy, so the browser places no limit on where scripts and other content may load from.

    Why it matters

    If an attacker manages to inject a script, nothing stops it from running in the browsers of your visitors and reading what they type or see.

    How to check

    curl -sI https://example.com | grep -i content-security-policy

    No output means the header is missing.

    How to fix

    1. Deploy the policy as Content-Security-Policy-Report-Only first and collect the reports.
    2. List the sources the site needs, starting from default-src 'self'.
    3. Switch to the enforcing header once the reports are clean.

    ISO 27001 controls

    A.8.26A.8.28

    Last reviewed: 15 November 2026.

    Skenify publishes a finding only after it has been confirmed on the live asset.

    Request a trial.