{"vuln_id":"CVE-2026-129948","aliases":[],"description":"Contentlayer @contentlayer/source-files through 0.3.4 contains a code injection vulnerability that allows attackers who control content files to execute JavaScript by abusing gray-matter's still-enabled JavaScript engine in parseMarkdown(). Attackers can start a Markdown or MDX file with a ---js or ---javascript frontmatter delimiter to run code during build, exposing CI build secrets.","published_at":"2026-11-16T15:17:29.940000Z","modified_at":"2026-11-17T17:18:02.927000Z","first_seen_at":"2026-11-21T19:15:49.060278Z","severity":"high","severity_source":"nvd","cvss_score":8.7,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cwe":["CWE-95"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.0034,"epss_percentile":0.28038,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-129948"},"matched_alias":null,"items":[{"id":6162,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-129948: Contentlayer @contentlayer/source-files through 0.3.4 contains a code injection vulnerability that allows attackers who control content files to execute JavaSc…","summary":"Contentlayer @contentlayer/source-files through 0.3.4 contains a code injection vulnerability that allows attackers who control content files to execute JavaScript by abusing gray-matter's still-enabled JavaScript engine in parseMarkdown(). Attackers can start a Markdown or MDX file with a ---js or ---javascript frontmatter delimiter to run code during build, exposing CI build secrets.\n\nReferences:\nhttps://github.com/contentlayerdev/contentlayer/blob/v0.3.4/packages/@contentlayer/source-files/src/fetchData/makeCacheItemFromFilePath.ts#L221-L228\nhttps://github.com/contentlayerdev/contentlayer/issues/688\nhttps://www.vulncheck.com/advisories/contentlayer-contentlayer-source-files-through-0.3.4-code-injection-via-javascript-frontmatter","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129948","published_at":"2026-11-16T15:17:29.940000Z","updated_at":"2026-11-17T17:18:02.927000Z","fetched_at":"2026-11-21T19:15:31.481920Z","severity":"high","cvss_score":8.7,"epss":0.0034,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-129948","vuln_ids":["CVE-2026-129948"],"tags":["CWE-95"],"cluster_id":6754,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/6162","html":"https://vulnwatch.ve1ve2.com/item/6162"}}]}