Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @grackle-ai/server
  4. ›
  5. GHSA-3mjm-x6gw-2x42

GHSA-3mjm-x6gw-2x42: @grackle-ai/server has Missing Content-Security-Policy and X-Frame-Options Headers

March 25, 2026

The HTTP server does not set Content-Security-Policy, X-Frame-Options, or X-Content-Type-Options headers on any response. This reduces defense-in-depth against XSS, clickjacking, and MIME-sniffing attacks.

While the current XSS attack surface is small (React-markdown is configured safely, no dangerouslySetInnerHTML, Vite does not generate source maps), the absence of these headers means any future XSS vulnerability would have no secondary defense layer.

Affected code:

  • packages/server/src/index.ts — all res.writeHead() calls only set Content-Type, with no security headers

References

  • github.com/advisories/GHSA-3mjm-x6gw-2x42
  • github.com/nick-pape/grackle
  • github.com/nick-pape/grackle/security/advisories/GHSA-3mjm-x6gw-2x42

Code Behaviors & Features

Detect and mitigate GHSA-3mjm-x6gw-2x42 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.70.4

Fixed versions

  • 0.70.4

Solution

Upgrade to version 0.70.4 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-693: Protection Mechanism Failure
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/@grackle-ai/server/GHSA-3mjm-x6gw-2x42.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:19 +0000.