{
  "id": "CVE-2026-129947",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-129947",
  "published_at": "2026-11-16T15:06:10.622Z",
  "title": "Contentlayer @contentlayer/core through 0.3.4 Code Injection via Generated _index.mjs",
  "vendor": "contentlayerdev",
  "product": "@contentlayer/core",
  "cvss": {
    "score": 8.6,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Contentlayer @contentlayer/core through 0.3.4 contains a code injection vulnerability that allows attackers to inject JavaScript by embedding single quotes in content file names. Attackers can add a content file whose name breaks out of the import specifier in makeDataExportFile(), executing injected code when contentlayer dev or a Next.js dev server imports the generated module.",
  "cwe": "CWE-94",
  "cvss_by_source": {
    "cna": 8.6
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "contentlayerdev",
        "product": "@contentlayer/core",
        "ranges": [
          "\u003c= 0.3.4"
        ],
        "fixed_in": null
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
