CVE-2018-8048
rubygem-loofah: XSS vulnerability due to unescaped comments within attributes by libxml2
Severity Score
6.1
*CVSS v3
Exploit Likelihood
*EPSS
Affected Versions
*CPE
Public Exploits
0
*Multiple Sources
Exploited in Wild
-
*KEV
Decision
-
*SSVC
Descriptions
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.
En la gema Loofah hasta la versión 2.2.0 de Ruby, pueden existir atributos HTML que no están incluidos en lista blanca en salidas saneadas al publicar de nuevo un fragmento HTML manipulado.
*Credits:
N/A
CVSS Scores
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Attack Vector
Attack Complexity
Authentication
Confidentiality
Integrity
Availability
* Common Vulnerability Scoring System
SSVC
- Decision:-
Exploitation
Automatable
Tech. Impact
* Organization's Worst-case Scenario
Timeline
- 2018-03-11 CVE Reserved
- 2018-03-27 CVE Published
- 2024-08-05 CVE Updated
- 2025-03-30 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CAPEC
References (6)
URL | Tag | Source |
---|---|---|
http://www.openwall.com/lists/oss-security/2018/03/19/5 | Mailing List |
|
https://github.com/flavorjones/loofah/issues/144 | Third Party Advisory | |
https://security.netapp.com/advisory/ntap-20191122-0003 | X_refsource_confirm |
|
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://www.debian.org/security/2018/dsa-4171 | 2019-11-22 | |
https://access.redhat.com/security/cve/CVE-2018-8048 | 2019-02-07 | |
https://bugzilla.redhat.com/show_bug.cgi?id=1559071 | 2019-02-07 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 9.0 Search vendor "Debian" for product "Debian Linux" and version "9.0" | - |
Affected
| ||||||
Loofah Project Search vendor "Loofah Project" | Loofah Search vendor "Loofah Project" for product "Loofah" | < 2.2.1 Search vendor "Loofah Project" for product "Loofah" and version " < 2.2.1" | ruby |
Affected
|