Skip to content

Commit

Permalink
Release note for CVE-2021-29434 in 2.11.7
Browse files Browse the repository at this point in the history
  • Loading branch information
gasman committed Apr 19, 2021
1 parent cbbeae0 commit d2d4e6e
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
=========

2.11.7 (19.04.2021)
~~~~~~~~~~~~~~~~~~~

* Fix: CVE-2021-29434 - fix improper validation of URLs ('Cross-site Scripting') in rich text fields (Kevin Breen, Matt Westcott)


2.11.6 (05.03.2021)
~~~~~~~~~~~~~~~~~~~

Expand Down
18 changes: 18 additions & 0 deletions docs/releases/2.11.7.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
============================
Wagtail 2.11.7 release notes
============================

.. contents::
:local:
:depth: 1


What's new
==========

CVE-2021-29434: Improper validation of URLs ('Cross-site Scripting') in rich text fields
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This release addresses a cross-site scripting (XSS) vulnerability in rich text fields. When saving the contents of a rich text field in the admin interface, Wagtail did not apply server-side checks to ensure that link URLs use a valid protocol. A malicious user with access to the admin interface could thus craft a POST request to publish content with javascript: URLs containing arbitrary code. The vulnerability is not exploitable by an ordinary site visitor without access to the Wagtail admin.

Many thanks to Kevin Breen for reporting this issue.
1 change: 1 addition & 0 deletions docs/releases/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Release notes
:maxdepth: 1

upgrading
2.11.7
2.11.6
2.11.5
2.11.4
Expand Down

0 comments on commit d2d4e6e

Please sign in to comment.