XSS in Loofah Project
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.019, 80.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Loofah Project
- Debian Linux — versions 9.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 5 other repositories (ARPSyndicate/cvemon, jason44406/Depot, jason44406/simple_cms, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/flavorjones/loofah/issues/144 (Third Party Advisory)
- [oss-security] 20180319 [CVE-2018-8048] Loofah XSS Vulnerability (mailing-list, Mailing List, Third Party Advisory)
- DSA-4171 (vendor-advisory, Third Party Advisory)
- security.netapp.com/advisory/ntap-20191122-0003/