From c4de024c89054150b9dde0553e8291042806b4fb Mon Sep 17 00:00:00 2001 From: Peter Valadez Date: Thu, 10 Apr 2025 18:33:54 -0400 Subject: [PATCH 1/2] Add missing handlebars nonces to all script tags --- templates/components/products/schema.html | 2 +- templates/pages/account/orders/invoice.html | 2 +- templates/pages/order-confirmation.html | 2 +- templates/pages/subscribed.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/components/products/schema.html b/templates/components/products/schema.html index e636f0a75c..4244349da4 100644 --- a/templates/components/products/schema.html +++ b/templates/components/products/schema.html @@ -1,4 +1,4 @@ - {{/partial}} diff --git a/templates/pages/order-confirmation.html b/templates/pages/order-confirmation.html index c11a95cdbf..66b8fc0c49 100644 --- a/templates/pages/order-confirmation.html +++ b/templates/pages/order-confirmation.html @@ -3,7 +3,7 @@ {{{ stylesheet '/assets/css/optimized-checkout.css' }}} {{ getFontsCollection }} - diff --git a/templates/pages/subscribed.html b/templates/pages/subscribed.html index 623ec7f606..8e12505ec8 100644 --- a/templates/pages/subscribed.html +++ b/templates/pages/subscribed.html @@ -19,7 +19,7 @@

- From 2e81e33d40cc2fb23338ca909399502ae0a9789d Mon Sep 17 00:00:00 2001 From: Peter Valadez Date: Thu, 10 Apr 2025 18:48:33 -0400 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index dcacbd3368..9fa310c5c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## Draft +- Add nonce to all script tags [#2539](https://github.com/bigcommerce/cornerstone/pull/2539) ## 6.16.1 (02-14-2025) - Refactor cart, payment account page inline event handlers to event listeners [#2536](https://github.com/bigcommerce/cornerstone/pull/2536)