Skip to content

Security Finding (Informational) SEC-027: No Content Security Policy #184

Description

@DyanGalih

Finding ID: SEC-027
Location: Global configuration / headers

No Content-Security-Policy header is set globally, leaving the application vulnerable to XSS and related injection attacks.

Impact: Increased risk of script injection and data exfiltration.

Remediation (short): Implement a strict CSP such as: default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; frame-ancestors 'none'; and tune for app needs.

Reference: SECURITY_REVIEW.md

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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