CVE-2026-129948
>_ Opis
Tłumaczenie automatyczne – może zawierać nieścisłości.
Contentlayer @contentlayer/source-files do wersji 0.3.4 zawiera lukę umożliwiającą wstrzyknięcie kodu, która umożliwia atakującym kontrolującym pliki zawartości wykonanie JavaScript poprzez nadużywanie wciąż włączonego silnika JavaScript Gray Matter w parseMarkdown(). Atakujący mogą uruchomić plik Markdown lub MDX z separatorem frontmatter ---js lub ---javascript, aby uruchomić kod podczas kompilacji, ujawniając sekrety kompilacji CI.
>_ Słabości (CWE)
>_ Referencje
- https://github.com/contentlayerdev/contentlayer/blob/v0.3.4/packages/@contentlayer/source-files/src/fetchData/makeCacheItemFromFilePath.ts#L221-L228
- https://github.com/contentlayerdev/contentlayer/issues/688
- https://www.vulncheck.com/advisories/contentlayer-contentlayer-source-files-through-0.3.4-code-injection-via-javascript-frontmatter
Dane podatności pochodzą z oficjalnych źródeł (CVE® List / NVD). Opisy po polsku są tłumaczone automatycznie i mogą zawierać nieścisłości – na stronie rekordu można wyświetlić wersję angielską.
This product uses the NVD API but is not endorsed or certified by the NVD.
Copyright © 1999–2026, The MITRE Corporation. CVE is a registered trademark and the CVE logo is a registered trademark of The MITRE Corporation.
CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. ALL DOCUMENTS AND THE INFORMATION CONTAINED THEREIN PROVIDED BY MITRE ARE PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND.
NVD Terms of Use / CVE® Terms of Use / nvd.nist.gov / cve.org