From 1a6ef41ef789c7e08aeffda843ff1c4123fbbf4a Mon Sep 17 00:00:00 2001 From: "Shelby J. Cunningham" Date: Mon, 19 Apr 2021 14:42:49 -0400 Subject: [PATCH] Add CVE-2021-29434 for GHSA-wq5h-f9p5-q7fx --- 2021/29xxx/CVE-2021-29434.json | 85 +++++++++++++++++++++++++++++++--- 1 file changed, 79 insertions(+), 6 deletions(-) diff --git a/2021/29xxx/CVE-2021-29434.json b/2021/29xxx/CVE-2021-29434.json index 655bd1a0af9..0a32e12b639 100644 --- a/2021/29xxx/CVE-2021-29434.json +++ b/2021/29xxx/CVE-2021-29434.json @@ -1,18 +1,91 @@ { - "data_type": "CVE", - "data_format": "MITRE", - "data_version": "4.0", "CVE_data_meta": { + "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2021-29434", - "ASSIGNER": "cve@mitre.org", - "STATE": "RESERVED" + "STATE": "PUBLIC", + "TITLE": "Improper validation of URLs ('Cross-site Scripting') in Wagtail rich text fields" }, + "affects": { + "vendor": { + "vendor_data": [ + { + "product": { + "product_data": [ + { + "product_name": "wagtail", + "version": { + "version_data": [ + { + "version_value": "<= 2.11.6" + }, + { + "version_value": ">= 2.12, <= 2.12.3" + } + ] + } + } + ] + }, + "vendor_name": "wagtail" + } + ] + } + }, + "data_format": "MITRE", + "data_type": "CVE", + "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", - "value": "** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided." + "value": "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)." } ] + }, + "impact": { + "cvss": { + "attackComplexity": "LOW", + "attackVector": "NETWORK", + "availabilityImpact": "NONE", + "baseScore": 6.1, + "baseSeverity": "MEDIUM", + "confidentialityImpact": "HIGH", + "integrityImpact": "HIGH", + "privilegesRequired": "HIGH", + "scope": "UNCHANGED", + "userInteraction": "REQUIRED", + "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N", + "version": "3.1" + } + }, + "problemtype": { + "problemtype_data": [ + { + "description": [ + { + "lang": "eng", + "value": "{\"CWE-79\":\"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\"}" + } + ] + } + ] + }, + "references": { + "reference_data": [ + { + "name": "https://github.com/wagtail/wagtail/security/advisories/GHSA-wq5h-f9p5-q7fx", + "refsource": "CONFIRM", + "url": "https://github.com/wagtail/wagtail/security/advisories/GHSA-wq5h-f9p5-q7fx" + }, + { + "name": "https://pypi.org/project/wagtail/", + "refsource": "MISC", + "url": "https://pypi.org/project/wagtail/" + } + ] + }, + "source": { + "advisory": "GHSA-wq5h-f9p5-q7fx", + "discovery": "UNKNOWN" } } \ No newline at end of file