From 089ffdfc04b5fcf25a3503d81a4e589f247e20e3 Mon Sep 17 00:00:00 2001 From: oleibman <10341515+oleibman@users.noreply.github.com> Date: Sat, 11 Jan 2025 19:16:27 -0800 Subject: [PATCH] Backported Security Patch --- CHANGELOG.md | 3 +- src/PhpSpreadsheet/Writer/Html.php | 2 +- .../Writer/Html/NavigationBadTitleTest.php | 35 +++++++++++++++++++ 3 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 tests/PhpSpreadsheetTests/Writer/Html/NavigationBadTitleTest.php diff --git a/CHANGELOG.md b/CHANGELOG.md index 498a046e81..93b1f9557d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com) and this project adheres to [Semantic Versioning](https://semver.org). -# TBD - 1.29.8 +# 2025-01-11 - 1.29.8 ### Deprecated @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org). ### Fixed +- Backported security patch for Html navigation. - Change hash code for worksheet. Backport of [PR #4207](https://github.com/PHPOffice/PhpSpreadsheet/pull/4207) - Retitling cloned worksheets. Backport of [PR #4302](https://github.com/PHPOffice/PhpSpreadsheet/pull/4302) diff --git a/src/PhpSpreadsheet/Writer/Html.php b/src/PhpSpreadsheet/Writer/Html.php index 000ea36b81..3d507a5e2e 100644 --- a/src/PhpSpreadsheet/Writer/Html.php +++ b/src/PhpSpreadsheet/Writer/Html.php @@ -563,7 +563,7 @@ public function generateNavigation() $html .= '