CVE-2018-8048
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.
02 Description
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.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 1.92% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 79.5% of scored records. A rank, not a probability.
- NVD base score
- 6.1 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2018-03-27 17:00Z8 YR AGO
- Last updated
- 2024-08-05 06:46Z2 YR AGO
- Reserved
- 2018-03-11
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')Base
- Data version
- 5.1
- Document digest
- 066f75cabcf2340a8b2cc8a891a3673c055f35cf31d5bc1ba92fe2368ba5034e
05 Affected products
06 References
- github.comhttps://github.com/flavorjones/loofah/issues/144
- www.openwall.com[oss-security] 20180319 [CVE-2018-8048] Loofah XSS Vulnerabilityhttp://www.openwall.com/lists/oss-security/2018/03/19/5
- www.debian.orgDSA-4171https://www.debian.org/security/2018/dsa-4171
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20191122-0003/
07 Fixed in
Debian 12
- ruby-loofah Fixed in 2.2.1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- ruby-loofah Fixed in 2.2.1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- ruby-loofah Fixed in 2.2.1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.