diff --git a/.github/workflows/pip-cache.yml b/.github/workflows/pip-cache.yml index 951b916def..e8fcbc33e3 100644 --- a/.github/workflows/pip-cache.yml +++ b/.github/workflows/pip-cache.yml @@ -73,7 +73,7 @@ jobs: packages: pip-audit==2.10.1 - name: WeasyPrint (3.12) python-version: '3.12' - packages: weasyprint==69.0 + packages: weasyprint==70.0 - name: the documentation toolchain (3.12) python-version: '3.12' requirements: docs-requirements.txt diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 1be2a01160..16edce0a2c 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -1156,7 +1156,7 @@ jobs: id: wheels uses: ./.github/actions/pip-install with: - packages: weasyprint==69.0 + packages: weasyprint==70.0 install: 'false' - name: Provision the PDF toolchain diff --git a/changes/unreleased/weasyprint-70.security.md b/changes/unreleased/weasyprint-70.security.md new file mode 100644 index 0000000000..2c742e2a0a --- /dev/null +++ b/changes/unreleased/weasyprint-70.security.md @@ -0,0 +1 @@ +- The PDF toolchain that `scripts/download-doc-pdf-toolchain.sh` provisions, and that CI tests `-doc-form pdf` against, pins WeasyPrint 70.0 instead of 69.0. Version 70.0 fixes CVE-2026-106443 (GHSA-r543-q48m-4c9j), in which an EPS image reached the Ghostscript interpreter and could run code. `sysml` runs whichever WeasyPrint `OPENSYSML_WEASYPRINT` or `PATH` names, so an installed 69.0 or earlier should be upgraded. diff --git a/scripts/download-doc-pdf-toolchain.sh b/scripts/download-doc-pdf-toolchain.sh index ab5ab6db99..8058d0d6c5 100755 --- a/scripts/download-doc-pdf-toolchain.sh +++ b/scripts/download-doc-pdf-toolchain.sh @@ -23,7 +23,7 @@ set -euo pipefail PANDOC_VERSION="3.10.2" PANDOC_SHA256_AMD64="c7edd535941c48be6a362081a748272837de81ae11777202d9c341d3d8261c9a" PANDOC_SHA256_ARM64="1c4d69f2a092bd47cb180e58a4aab7b9637101ced928252458c7d41a7f7fa71d" -WEASYPRINT_VERSION="69.0" +WEASYPRINT_VERSION="70.0" MERMAID_CLI_VERSION="11.16.0" KATEX_VERSION="0.16.47" # Asciidoctor.js is pinned by scripts/asciidoc/package.json and its lockfile,