Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
python-django (3:4.2.28-0+deb13u2) stable-proposed-updates; urgency=medium

* The fix for CVE-2025-6069 in the python3.13 source package (released
as part of a suite of updates in 3.13.5-2+deb13u2) modified Python's
html.parser.HTMLParser class in such a way that changed the behaviour of
Django's strip_tags() method. As a result of this change, we update the
testsuite here for the newly expected results in order to prevent a build
failure. (Closes: #1137039)

-- Chris Lamb <lamby@debian.org> Tue, 26 May 2026 14:35:49 -0700

python-django (3:4.2.28-0+deb13u1) trixie-security; urgency=high

* New upstream security release:
Expand Down
23 changes: 23 additions & 0 deletions debian/patches/0006-Workaround-changes-in-CVE-2025-6069.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
From: Chris Lamb <lamby@debian.org>
Date: Fri, 22 May 2026 11:20:52 -0700
Subject: Workaround changes in CVE-2025-6069

---
tests/utils_tests/test_html.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/tests/utils_tests/test_html.py b/tests/utils_tests/test_html.py
index a5acc582f7b4..9c5f5e7ecc6f 100644
--- a/tests/utils_tests/test_html.py
+++ b/tests/utils_tests/test_html.py
@@ -116,9 +116,7 @@ class TestUtilsHtml(SimpleTestCase):
(3, 8): (3, 8, math.inf),
}
major_version = sys.version_info[:2]
- htmlparser_fixed_security = sys.version_info >= min_fixed_security.get(
- major_version, major_version
- )
+ htmlparser_fixed_security = True
htmlparser_fixed_incomplete_entities = (
sys.version_info
>= min_fixed_incomplete_entities.get(major_version, major_version)
1 change: 1 addition & 0 deletions debian/patches/series
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
0004-Use-locally-installed-documentation-sources.patch
0004-Set-the-default-shebang-to-new-projects-to-use-Pytho.patch
py313-test-help-default-options-with-custom-arguments.patch
0006-Workaround-changes-in-CVE-2025-6069.patch
Loading