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
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)
|
|
| noble |
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 |