FreeBSD : Sanitize -- XSS vulnerability (39a30e0a-0c34-431b-9dce-b87cab02412a)

high Nessus Plugin ID 108524

Language:

Synopsis

The remote FreeBSD host is missing a security-related update.

Description

Sanitize release :

Fixed an HTML injection vulnerability that could allow XSS.

When Sanitize <= 4.6.2 is used in combination with libxml2 >= 2.9.2, a specially crafted HTML fragment can cause libxml2 to generate improperly escaped output, allowing non-whitelisted attributes to be used on whitelisted elements.

Sanitize now performs additional escaping on affected attributes to prevent this.

Solution

Update the affected package.

See Also

https://github.com/rgrove/sanitize/releases

https://github.com/rgrove/sanitize/issues/176

http://www.nessus.org/u?485578ee

Plugin Details

Severity: High

ID: 108524

File Name: freebsd_pkg_39a30e0a0c34431b9dceb87cab02412a.nasl

Version: 1.4

Type: local

Published: 3/22/2018

Updated: 11/10/2018

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

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

CVSS v3

Risk Factor: High

Base Score: 7.5

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:rubygem-sanitize, cpe:/o:freebsd:freebsd

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

Patch Publication Date: 3/21/2018

Vulnerability Publication Date: 3/19/2018

Reference Information

CVE: CVE-2018-3740