Skip to content
High 8.8

@tinacms/mdxの脆弱性、保存された内容からコードを実行される恐れ

CVE-2026-126774 First seen on SecPulse

Summary

@tinacms/mdxの2.4.2より前のバージョンには、MDXシリアライザーでリッチテキストの値がエスケープされずに書き込まれる脆弱性があります。認証された編集者が細工した値を保存すると、閲覧者のブラウザーやビルド・サーバーサイドレンダリングの環境でJavaScriptが実行される可能性があります。修正版の2.4.2への更新が必要です。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

@tinacms/mdxの2.4.2より前のバージョンには、MDXシリアライザーでリッチテキストの値がエスケープされずに書き込まれる脆弱性があります。認証された編集者が細工した値を保存すると、閲覧者のブラウザーやビルド・サーバーサイドレンダリングの環境でJavaScriptが実行される可能性があります。修正版の2.4.2への更新が必要です。

Affected packages

PackageAffected → Fixed
tinacms@tinacms/mdx
< 2.4.2→ 2.4.2
Original description The description as published by the source.

@tinacms/mdx before 2.4.2 contains a code injection vulnerability in its MDX serializer, which writes rich-text values into MDX expressions without escaping them. Authenticated content editors can save crafted values that break out of list field or highlightColor expressions in the stored .mdx file, executing JavaScript in visitors' browsers or on build and server-side rendering hosts.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details