Skip to content

fix: improve csp headers#2553

Open
mburri wants to merge 4 commits intomainfrom
fix/csp-headers
Open

fix: improve csp headers#2553
mburri wants to merge 4 commits intomainfrom
fix/csp-headers

Conversation

@mburri
Copy link
Copy Markdown
Contributor

@mburri mburri commented May 1, 2026

Improve CSP Headers

  • vercel related urls are only included for actual vercel deployments
  • removed policy for https://cdn.jsdelivr.net that is actually unused
  • improved csp header for iframe embedding:
    • only certain paths should be embeddable:

      • /embed/abc/
      • /preview
      • /api/embed-aem-ext/en/xyz
    • other routes like /, /create/new/ and - even not applicable here /sign-in should not be allowed to be embedded in iframes

    • note: this was previously covered (in parts) with the customized csp header in /app/pages/embed/[chartId].tsx

  • This PR also removes the google analytics integration
  • I added a CHANGELOG entry
  • I made a self-review of my own code

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
visualization-tool Ready Ready Preview, Comment May 1, 2026 2:15pm

Request Review

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant