CVE-2021-29434

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-29434
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-29434.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-29434
Aliases
Related
Published
2021-04-19T19:15:17Z
Modified
2025-02-19T03:18:25.725254Z
Severity
  • 4.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

Wagtail is a Django content management system. In affected versions of Wagtail, when saving the contents of a rich text field in the admin interface, Wagtail does 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. See referenced GitHub advisory for additional details, including a workaround. Patched versions have been released as Wagtail 2.11.7 (for the LTS 2.11 branch) and Wagtail 2.12.4 (for the current 2.12 branch).

References

Affected packages

Git / github.com/wagtail/wagtail

Affected ranges

Type
GIT
Repo
https://github.com/wagtail/wagtail
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.1
v0.2
v0.3
v0.3.1
v0.4
v0.5
v0.6
v0.7
v0.8
v0.8.1

v1.*

v1.0b1
v1.0b2
v1.0rc1
v1.10rc1
v1.1rc1
v1.2rc1
v1.3rc1
v1.4rc1
v1.5rc1
v1.6rc1
v1.8rc1

v2.*

v2.0b1
v2.11
v2.11.1
v2.11.2
v2.11.3
v2.11.4
v2.11.5
v2.11.rc1
v2.1rc1
v2.2rc1
v2.8rc1