CVE-2021-29434
Published Apr 19, 2021
Last updated 4 years ago
Overview
- Description
- 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).
- Source
- security-advisories@github.com
- NVD status
- Analyzed
Social media
- Hype score
- Not currently trending
Risk scores
CVSS 3.1
- Type
- Primary
- Base score
- 4.8
- Impact score
- 2.7
- Exploitability score
- 1.7
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- Severity
- MEDIUM
CVSS 2.0
- Type
- Primary
- Base score
- 3.5
- Impact score
- 2.9
- Exploitability score
- 6.8
- Vector string
- AV:N/AC:M/Au:S/C:N/I:P/A:N
Weaknesses
- security-advisories@github.com
- CWE-79
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:torchbox:wagtail:*:*:*:*:-:*:*:*", "vulnerable": true, "matchCriteriaId": "D49567BA-C5CC-43C3-AF42-EA0C310D579C", "versionEndExcluding": "2.11.6" }, { "criteria": "cpe:2.3:a:torchbox:wagtail:*:*:*:*:lts:*:*:*", "vulnerable": true, "matchCriteriaId": "12C5EC90-1517-407D-8FD2-48EC03048565", "versionEndExcluding": "2.11.7", "versionStartIncluding": "2.11.0" }, { "criteria": "cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "4EB39BD7-9D15-4076-BB7B-41183023FA60", "versionEndExcluding": "2.12.4", "versionStartIncluding": "2.12.0" } ], "operator": "OR" } ] } ]