Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2018-3741

Published: 30 March 2018

There is a possible XSS vulnerability in all rails-html-sanitizer gem versions below 1.0.4 for Ruby. The gem allows non-whitelisted attributes to be present in sanitized output when input with specially-crafted HTML fragments, and these attributes can lead to an XSS attack on target applications. This issue is similar to CVE-2018-8048 in Loofah. All users running an affected release should either upgrade or use one of the workarounds immediately.

Priority

Medium

Cvss 3 Severity Score

6.1

Score breakdown

Status

Package Release Status
ruby-rails-html-sanitizer
Launchpad, Ubuntu, Debian
artful Ignored
(end of life)
bionic Not vulnerable
(1.0.4-1)
cosmic Ignored
(end of life)
disco Not vulnerable
(1.0.4-1)
eoan Not vulnerable
(1.0.4-1)
focal Not vulnerable
(1.0.4-1)
groovy Not vulnerable
(1.0.4-1)
hirsute Not vulnerable
(1.0.4-1)
impish Not vulnerable
(1.0.4-1)
jammy Not vulnerable
(1.0.4-1)
kinetic Not vulnerable
(1.0.4-1)
lunar Not vulnerable
(1.0.4-1)
mantic Not vulnerable
(1.0.4-1)
trusty Does not exist

upstream
Released (1.0.4)
xenial Needed

Severity score breakdown

Parameter Value
Base score 6.1
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Scope Changed
Confidentiality Low
Integrity impact Low
Availability impact None
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N