Vulnerability Details : CVE-2021-29434
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).
Vulnerability category: Cross site scripting (XSS)
Products affected by CVE-2021-29434
- cpe:2.3:a:torchbox:wagtail:*:*:*:*:lts:*:*:*
- cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:*
- cpe:2.3:a:torchbox:wagtail:*:*:*:*:-:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-29434
0.05%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 17 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-29434
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
3.5
|
LOW | AV:N/AC:M/Au:S/C:N/I:P/A:N |
6.8
|
2.9
|
NIST | |
4.8
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
1.7
|
2.7
|
NIST | |
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N |
0.9
|
5.2
|
GitHub, Inc. |
CWE ids for CVE-2021-29434
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by: security-advisories@github.com (Primary)
References for CVE-2021-29434
-
https://github.com/wagtail/wagtail/security/advisories/GHSA-wq5h-f9p5-q7fx
Improper validation of URLs ('Cross-site Scripting') in Wagtail rich text fields · Advisory · wagtail/wagtail · GitHubMitigation;Third Party Advisory
-
https://pypi.org/project/wagtail/
wagtail · PyPIProduct;Third Party Advisory
Jump to