Skip to content

security: add Content-Security-Policy header to dashboard #71

@pavelanni

Description

@pavelanni

From PR #66 review (GLM 5.1, finding #15):

Dashboard serves HTML without a CSP header. Add at minimum:

Content-Security-Policy: default-src 'self'; script-src 'self'

This provides defense-in-depth against XSS beyond the escapeHtml()
sanitization already in place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions