From 46b18030e26efcd6f44e2748997a8d8446303321 Mon Sep 17 00:00:00 2001 From: Jon Erlend Mathisen <151974356+JonBaron78@users.noreply.github.com> Date: Fri, 30 May 2025 08:35:27 +0200 Subject: [PATCH 1/2] Security fix for phpoffice/math https://github.com/PHPOffice/Math/releases/tag/0.3.0 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 5055105d16..90b1c2e571 100644 --- a/composer.json +++ b/composer.json @@ -112,7 +112,7 @@ "ext-zip": "*", "ext-json": "*", "ext-xml": "*", - "phpoffice/math": "^0.2" + "phpoffice/math": "^0.3" }, "require-dev": { "ext-libxml": "*", From 16171e3e132541eceebaea6e8a34c4fac1490686 Mon Sep 17 00:00:00 2001 From: Jon Erlend Mathisen Date: Fri, 30 May 2025 11:55:31 +0200 Subject: [PATCH 2/2] Update doc changes --- docs/changes/1.x/1.4.0.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/changes/1.x/1.4.0.md b/docs/changes/1.x/1.4.0.md index ed095035e3..db3bb07c2a 100644 --- a/docs/changes/1.x/1.4.0.md +++ b/docs/changes/1.x/1.4.0.md @@ -32,6 +32,9 @@ - Template Processor: Fix 0 considered as empty string by [@cavasinf](https://github.com/cavasinf), [@SnipsMine](https://github.com/SnipsMine) and [@Progi1984](https://github.com/Progi1984) fixing [#2572](https://github.com/PHPOffice/PHPWord/issues/2572), [#2703](https://github.com/PHPOffice/PHPWord/issues/2703) in [#2748](https://github.com/PHPOffice/PHPWord/pull/2748) - Word2007 Writer : Corrected generating TOC to fix page number missing issues [@jgiacomello](https://github.com/jgiacomello) in [#2556](https://github.com/PHPOffice/PHPWord/pull/2556) +### Security fixes +- Bump phpoffice/math from 0.2.0 to 0.3.0 by [@JonBaron78](https://github.com/JonBaron78) fixing [#2783](https://github.com/PHPOffice/PHPWord/issues/2783) in [#2782](https://github.com/PHPOffice/PHPWord/pull/2782) + ### Miscellaneous - Bump dompdf/dompdf from 2.0.4 to 3.0.0 by [@dependabot](https://github.com/dependabot) fixing [#2621](https://github.com/PHPOffice/PHPWord/issues/2621) in [#2666](https://github.com/PHPOffice/PHPWord/pull/2666)