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.5

Type: local

Published: 3/22/2018

Updated: 12/19/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2018-3740

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

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

Exploit Ease: No known exploits are available

Patch Publication Date: 3/21/2018

Vulnerability Publication Date: 3/19/2018

Reference Information

CVE: CVE-2018-3740