CVE-2018-8048Debian Linux
Medium 6.1 No auth needed
Follow: this CVE · Debian · Debian Linux We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.0
- 6.1
- EPSS
- 1.9% probability of exploitation in 30 days · percentile 81
- Auth required
- No
- Published
- Mar 27, 2018
- Updated
- Jun 17, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Debian Linux.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | loofah |
< 2.2.1 |
2.2.1 |
gem "loofah", ">= 2.2.1" |
| RubyGems | nokogiri |
< 1.8.3 |
1.8.3 |
gem "nokogiri", ">= 1.8.3" |
Per OSV / GitHub Advisories (GHSA-x7rv-cr6v-4vm4). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| debian | debian_linux | 9.0 |
| loofah_project | loofah | < 2.2.1 |
Official advisories
- ruby4.0-rubygem-loofah-2.23.1-1.5 on GA media · SUSE · openSUSE-SU-2026:10353-1 · Mar 13, 2026 High
- ruby4.0-rubygem-nokogiri-1.18.9-1.4 on GA media · SUSE · openSUSE-SU-2026:10356-1 · Mar 13, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Third Party Advisory
- github.com Third Party Advisory
- security.netapp.com
- www.debian.org Third Party Advisory