
CVE catalog
CVE-2018-8048
ruby-loofah: CVE-2018-8048
- Severity
- Medium · CVSS 6.1
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.93% · Oct 25, 2026
In the Loofah gem through 2.2.0 for Ruby, non-whitelisted HTML attributes may occur in sanitized output by republishing a crafted HTML fragment.
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 |
| Suse | rubygem-loofah | openstack cloud crowbar 8 | 2.0.2-3.11.1 | fixed |
| Suse | rubygem-loofah | openstack cloud crowbar 9 | 2.0.2-3.11.1 | fixed |
| Suse | rubygem-loofah | openstack cloud 7 | 2.0.2-3.8.1 | fixed |
| Suse | rubygem-loofah | openstack cloud crowbar 8 | 2.0.2-3.8.1 | fixed |
| Suse | rubygem-loofah | openstack cloud crowbar 9 | 2.0.2-3.8.1 | fixed |
| Suse | rubygem-loofah | enterprise storage 4 | 2.0.2-3.8.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ruby-loofah | source | sid | 2.2.1-1 | not yet assigned | Not reported | [893596] |
| Debian | ruby-loofah | source | forky | 2.2.1-1 | not yet assigned | Not reported | [893596] |
| Debian | ruby-loofah | source | trixie | 2.2.1-1 | not yet assigned | Not reported | [893596] |
| Debian | ruby-loofah | source | bookworm | 2.2.1-1 | not yet assigned | Not reported | [893596] |
| Suse | rubygem-loofah | rpm | openstack cloud crowbar 8 | 2.0.2-3.11.1 | Not reported | SUSE-SU-2022:4075-1 | Not reported |
| Suse | rubygem-loofah | rpm | openstack cloud crowbar 9 | 2.0.2-3.11.1 | Not reported | SUSE-SU-2022:4075-1 | Not reported |
| Suse | rubygem-loofah | rpm | openstack cloud 7 | 2.0.2-3.8.1 | Not reported | SUSE-SU-2019:2209-1 | Not reported |
| Suse | rubygem-loofah | rpm | openstack cloud crowbar 8 | 2.0.2-3.8.1 | Not reported | SUSE-SU-2019:2209-1 | Not reported |
| Suse | rubygem-loofah | rpm | openstack cloud crowbar 9 | 2.0.2-3.8.1 | Not reported | SUSE-SU-2019:2209-1 | Not reported |
| Suse | rubygem-loofah | rpm | enterprise storage 4 | 2.0.2-3.8.1 | Not reported | SUSE-SU-2019:2209-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [ruby-loofah]Fixed
Details (2)
2.19.1-1· all · bookwormFixed · Fixed:
2.2.1-1dsa · ruby-loofah · debian · bookworm; dsa · ruby-loofah · debian · 12
2.19.1-1· all · bookwormFixed · Fixed:
2.2.1-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.1-1dsa · ruby-loofah · debian · 13
2.24.0-1· all · trixieFixed · Fixed:
2.2.1-1dsa · ruby-loofah · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2019_0394-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2018-8048]
- [https://osv.dev/vulnerability/DSA-4171-1]
- [https://osv.dev/vulnerability/SUSE-SU-2019:2209-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:4075-1]
- [https://security-tracker.debian.org/tracker/CVE-2018-8048]
- [https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-8048.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]