Version in base suite: 2.7.0-1 Base version: php-league-commonmark_2.7.0-1 Target version: php-league-commonmark_2.7.0-1+deb13u1 Base file: /srv/ftp-master.debian.org/ftp/pool/main/p/php-league-commonmark/php-league-commonmark_2.7.0-1.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/p/php-league-commonmark/php-league-commonmark_2.7.0-1+deb13u1.dsc changelog | 11 - control | 2 gbp.conf | 2 patches/0005-Add-regression-test.patch | 42 +++ patches/0006-Fix-DisallowedRawHtml-bypass-via-newline-tab-in-tag-.patch | 47 ++++ patches/0007-Fix-DomainFilteringAdapter-hostname-boundary-bypass.patch | 109 ++++++++++ patches/series | 3 7 files changed, 213 insertions(+), 3 deletions(-) dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmpeqxzyrlp/php-league-commonmark_2.7.0-1.dsc: no acceptable signature found dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmpeqxzyrlp/php-league-commonmark_2.7.0-1+deb13u1.dsc: no acceptable signature found diff -Nru php-league-commonmark-2.7.0/debian/changelog php-league-commonmark-2.7.0/debian/changelog --- php-league-commonmark-2.7.0/debian/changelog 2025-05-05 14:16:52.000000000 +0000 +++ php-league-commonmark-2.7.0/debian/changelog 2026-03-26 06:55:35.000000000 +0000 @@ -1,7 +1,16 @@ +php-league-commonmark (2.7.0-1+deb13u1) trixie; urgency=medium + + * Track debian/trixie + * Fix DisallowedRawHtml bypass via newline/tab in tag names [CVE-2026-30838] + * Fix DomainFilteringAdapter hostname boundary bypass [CVE-2026-33347] + * Document CVE fixed in previous changelog entry + + -- David Prévot Thu, 26 Mar 2026 07:55:35 +0100 + php-league-commonmark (2.7.0-1) unstable; urgency=medium [ Colin O'Dell ] - * Fix XSS in AttributesExtension + * Fix XSS in AttributesExtension [CVE-2025-46734] * Prepare to release 2.7.0 -- David Prévot Mon, 05 May 2025 16:16:52 +0200 diff -Nru php-league-commonmark-2.7.0/debian/control php-league-commonmark-2.7.0/debian/control --- php-league-commonmark-2.7.0/debian/control 2025-05-05 14:07:46.000000000 +0000 +++ php-league-commonmark-2.7.0/debian/control 2026-03-26 06:55:35.000000000 +0000 @@ -17,7 +17,7 @@ phpunit Standards-Version: 4.7.2 Homepage: https://commonmark.thephpleague.com/ -Vcs-Git: https://salsa.debian.org/php-team/pear/php-league-commonmark.git -b debian/latest +Vcs-Git: https://salsa.debian.org/php-team/pear/php-league-commonmark.git -b debian/trixie Vcs-Browser: https://salsa.debian.org/php-team/pear/php-league-commonmark Rules-Requires-Root: no diff -Nru php-league-commonmark-2.7.0/debian/gbp.conf php-league-commonmark-2.7.0/debian/gbp.conf --- php-league-commonmark-2.7.0/debian/gbp.conf 2024-07-23 10:20:01.000000000 +0000 +++ php-league-commonmark-2.7.0/debian/gbp.conf 2026-03-26 06:55:35.000000000 +0000 @@ -1,5 +1,5 @@ [DEFAULT] -debian-branch = debian/latest +debian-branch = debian/trixie filter = [ '.gitattributes' ] pristine-tar = True upstream-vcs-tag = %(version%~%-)s diff -Nru php-league-commonmark-2.7.0/debian/patches/0005-Add-regression-test.patch php-league-commonmark-2.7.0/debian/patches/0005-Add-regression-test.patch --- php-league-commonmark-2.7.0/debian/patches/0005-Add-regression-test.patch 1970-01-01 00:00:00.000000000 +0000 +++ php-league-commonmark-2.7.0/debian/patches/0005-Add-regression-test.patch 2026-03-26 06:55:35.000000000 +0000 @@ -0,0 +1,42 @@ +From: Colin O'Dell +Date: Thu, 5 Mar 2026 07:22:58 -0500 +Subject: Add regression test + +Origin: upstream, https://github.com/thephpleague/commonmark/commit/f6e74434dd1a91f195f80cb0184b746a4187272a +--- + .../DisallowedRawHtml/DisallowedRawHtmlRendererTest.php | 15 +++++++++++++++ + 1 file changed, 15 insertions(+) + +diff --git a/tests/unit/Extension/DisallowedRawHtml/DisallowedRawHtmlRendererTest.php b/tests/unit/Extension/DisallowedRawHtml/DisallowedRawHtmlRendererTest.php +index 66c4bad..d64d699 100644 +--- a/tests/unit/Extension/DisallowedRawHtml/DisallowedRawHtmlRendererTest.php ++++ b/tests/unit/Extension/DisallowedRawHtml/DisallowedRawHtmlRendererTest.php +@@ -70,6 +70,16 @@ final class DisallowedRawHtmlRendererTest extends TestCase + yield [''), ++ new Embed('//example.com/path'), + ]; + + $inner = $this->createMock(EmbedAdapterInterface::class); diff -Nru php-league-commonmark-2.7.0/debian/patches/series php-league-commonmark-2.7.0/debian/patches/series --- php-league-commonmark-2.7.0/debian/patches/series 2025-05-05 14:07:48.000000000 +0000 +++ php-league-commonmark-2.7.0/debian/patches/series 2026-03-26 06:55:35.000000000 +0000 @@ -2,3 +2,6 @@ 0002-Drop-tests-breaking-under-PHPUnit-11.patch 0003-Mark-Data-Provider-method-as-static.patch 0004-Modernize-PHPUnit-syntax.patch +0005-Add-regression-test.patch +0006-Fix-DisallowedRawHtml-bypass-via-newline-tab-in-tag-.patch +0007-Fix-DomainFilteringAdapter-hostname-boundary-bypass.patch