DEBIAN-CVE-2018-3741

Source
https://security-tracker.debian.org/tracker/CVE-2018-3741
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2018-3741.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2018-3741
Upstream
Published
2018-03-30T19:29:00Z
Modified
2025-09-19T06:08:03Z
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / ruby-rails-html-sanitizer

Package

Name
ruby-rails-html-sanitizer
Purl
pkg:deb/debian/ruby-rails-html-sanitizer?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.4-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / ruby-rails-html-sanitizer

Package

Name
ruby-rails-html-sanitizer
Purl
pkg:deb/debian/ruby-rails-html-sanitizer?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.4-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / ruby-rails-html-sanitizer

Package

Name
ruby-rails-html-sanitizer
Purl
pkg:deb/debian/ruby-rails-html-sanitizer?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.4-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / ruby-rails-html-sanitizer

Package

Name
ruby-rails-html-sanitizer
Purl
pkg:deb/debian/ruby-rails-html-sanitizer?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.4-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}