Skip to content

[Info] CSP header allows unsafe-inline and unsafe-eval for scripts #26

@hhhashexe

Description

@hhhashexe

Description

Content-Security-Policy includes:

script-src 'self' 'unsafe-inline' 'unsafe-eval'

This weakens XSS protection since inline scripts and eval() are allowed.

Context

Common for Next.js apps. Low priority but worth noting for security posture.

Reference

https://nextjs.org/docs/app/building-your-application/configuring/content-security-policy

Severity

ℹ️ Info — noting for future improvement

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions