
CVE catalog
CVE-2018-16468
ruby-loofah: CVE-2018-16468
- Severity
- Medium · CVSS 6.4
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.92% · Oct 25, 2026
In the Loofah gem for Ruby, through v2.2.2, unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ruby-loofah | sid | 2.25.2-1 | fixed |
| Debian | ruby-loofah | forky | 2.25.2-1 | fixed |
| Debian | ruby-loofah | trixie | 2.24.0-1 | fixed |
| Debian | ruby-loofah | bookworm | 2.19.1-1 | fixed |
| Opensuse | rubygem-loofah | tumbleweed | 2.23.1-1.5 | fixed |
| Opensuse | ruby3.2-rubygem-loofah | tumbleweed | 2.19.1-1.2 | fixed |
| Opensuse | rubygem-loofah | tumbleweed | 2.22.0-1.5 | fixed |
| Suse | rubygem-loofah | linux enterprise high availability extension 15 | 2.2.2-4.3.1 | fixed |
| Opensuse | rubygem-loofah | tumbleweed | 2.14.0-1.1 | fixed |
| Suse | rubygem-loofah | openstack cloud 7 | 2.0.2-3.5.1 | fixed |
| Suse | rubygem-loofah | openstack cloud crowbar 8 | 2.0.2-3.5.1 | fixed |
| Suse | rubygem-loofah | enterprise storage 4 | 2.0.2-3.5.1 | fixed |
| Opensuse | rubygem-loofah | tumbleweed | 2.23.1-1.3 | fixed |
| Ubuntu | ruby-loofah | 16.04 | 2.0.2-1 | vulnerable |
| Ubuntu | ruby-loofah | 16.04 | 2.0.3-1 | vulnerable |
| Ubuntu | ruby-loofah | 16.04 | 2.0.3-2 | vulnerable |
| Ubuntu | ruby-loofah | 16.04 | 2.0.3-2+deb9u1build0.16.04.1 | vulnerable |
| Ubuntu | ruby-loofah | 16.04 | 2.0.3-2+deb9u2build0.16.04.1 | fixed |
| Ubuntu | ruby-loofah | 18.04 | 2.0.3-2 | vulnerable |
| Ubuntu | ruby-loofah | 18.04 | 2.2.2-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ruby-loofah | source | sid | 2.2.3-1 | not yet assigned | Not reported | [912398] |
| Debian | ruby-loofah | source | forky | 2.2.3-1 | not yet assigned | Not reported | [912398] |
| Debian | ruby-loofah | source | trixie | 2.2.3-1 | not yet assigned | Not reported | [912398] |
| Debian | ruby-loofah | source | bookworm | 2.2.3-1 | not yet assigned | Not reported | [912398] |
| Opensuse | rubygem-loofah | rpm | tumbleweed | 2.23.1-1.5 | Not reported | OPENSUSE-SU-2026:10353-1 | Not reported |
| Opensuse | ruby3.2-rubygem-loofah | rpm | tumbleweed | 2.19.1-1.2 | Not reported | OPENSUSE-SU-2024:13162-1 | Not reported |
| Opensuse | rubygem-loofah | rpm | tumbleweed | 2.22.0-1.5 | Not reported | OPENSUSE-SU-2024:14171-1 | Not reported |
| Suse | rubygem-loofah | rpm | linux enterprise high availability extension 15 | 2.2.2-4.3.1 | Not reported | SUSE-SU-2018:3928-1 | Not reported |
| Opensuse | rubygem-loofah | rpm | tumbleweed | 2.14.0-1.1 | Not reported | OPENSUSE-SU-2024:11900-1 | Not reported |
| Suse | rubygem-loofah | rpm | openstack cloud 7 | 2.0.2-3.5.1 | Not reported | SUSE-SU-2019:0394-1 | Not reported |
| Suse | rubygem-loofah | rpm | openstack cloud crowbar 8 | 2.0.2-3.5.1 | Not reported | SUSE-SU-2019:0394-1 | Not reported |
| Suse | rubygem-loofah | rpm | enterprise storage 4 | 2.0.2-3.5.1 | Not reported | SUSE-SU-2019:0394-1 | Not reported |
| Opensuse | rubygem-loofah | rpm | tumbleweed | 2.23.1-1.3 | Not reported | OPENSUSE-SU-2025:15120-1 | Not reported |
| Ubuntu | ruby-loofah | deb | 16.04 | 2.0.3-2+deb9u2build0.16.04.1 | Not reported | UBUNTU-CVE-2018-16468 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [ruby4.0-rubygem-loofah]Unknown
Source package: [rubygem-loofah]
Details (1)
2.25.0-1.3· x86_64 · tumbleweedUnknown · Fixed:
2.14.0-1.1, 2.22.0-1.5, 2.23.1-1.3, 2.23.1-1.5Version impact unknown
dsa · rubygem-loofah · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [ruby-loofah]Fixed
Details (2)
2.19.1-1· all · bookwormFixed · Fixed:
2.2.3-1dsa · ruby-loofah · debian · bookworm; dsa · ruby-loofah · debian · 12
2.19.1-1· all · bookwormFixed · Fixed:
2.2.3-1dsa · ruby-loofah · debian · bookworm; dsa · ruby-loofah · debian · 12
[Debian 13 (Trixie)]
- [ruby-loofah]Fixed
Details (2)
2.24.0-1· all · trixieFixed · Fixed:
2.2.3-1dsa · ruby-loofah · debian · 13
2.24.0-1· all · trixieFixed · Fixed:
2.2.3-1dsa · ruby-loofah · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2018_3928-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2018-16468]
- [https://osv.dev/vulnerability/DSA-4364-1]
- [https://osv.dev/vulnerability/SUSE-SU-2018:3928-1]
- [https://osv.dev/vulnerability/SUSE-SU-2019:0394-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-16468]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:11900-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:13162-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:14171-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2025:15120-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10353-1]
- [https://security-tracker.debian.org/tracker/CVE-2018-16468]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]