FreeBSD : Wagtail -- XSS vulnerability (e1d3a580-cd8b-11ea-bad0-08002728f74c)

medium Nessus Plugin ID 139113

Language:

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

GitHub Advisory Database :

When a form page type is made available to Wagtail editors through the wagtail.contrib.forms app, and the page template is built using Django's standard form rendering helpers such as form.as_p (as directed in the documentation), any HTML tags used within a form field's help text will be rendered unescaped in the page. Allowing HTML within help text is an intentional design decision by Django;
however, as a matter of policy Wagtail does not allow editors to insert arbitrary HTML by default, as this could potentially be used to carry out cross-site scripting attacks, including privilege escalation. This functionality should therefore not have been made available to editor-level users.

The vulnerability is not exploitable by an ordinary site visitor without access to the Wagtail admin.

Solution

Update the affected packages.

See Also

https://github.com/advisories/GHSA-2473-9hgq-j7xw

http://www.nessus.org/u?511b1567

Plugin Details

Severity: Medium

ID: 139113

File Name: freebsd_pkg_e1d3a580cd8b11eabad008002728f74c.nasl

Version: 1.3

Type: local

Published: 7/30/2020

Updated: 2/27/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.0

CVSS v2

Risk Factor: Low

Base Score: 3.5

Temporal Score: 2.6

Vector: CVSS2#AV:N/AC:M/Au:S/C:N/I:P/A:N

CVSS Score Source: CVE-2020-15118

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:freebsd:freebsd, p-cpe:/a:freebsd:freebsd:py37-wagtail, p-cpe:/a:freebsd:freebsd:py36-wagtail, p-cpe:/a:freebsd:freebsd:py38-wagtail

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Ease: No known exploits are available

Patch Publication Date: 7/24/2020

Vulnerability Publication Date: 7/20/2020

Reference Information

CVE: CVE-2020-15118