From 743e0ec9a7410dc3d9b3999841997f1e247f097a Mon Sep 17 00:00:00 2001 From: marcin2121 <13873718+marcin2121@users.noreply.github.com> Date: Tue, 31 Mar 2026 19:32:07 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=92=20Fix=20potential=20XSS=20in=20JSO?= =?UTF-8?q?N-LD=20script=20tags?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sanitized JSON stringification in layout.tsx by escaping `<` characters to prevent escaping out of the script context. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> --- app/layout.tsx | 2 +- package-lock.json | 42 +++++++++++++++++++++--------------------- package.json | 2 +- 3 files changed, 23 insertions(+), 23 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index 6a9db4f..94948cc 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -297,7 +297,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })