brew-mikutter-cve-2018-8048
Vulnerability from osv_homebrew
Published
2026-08-13 17:14
Modified
2026-08-13 17:14
Summary
Cross-site Scripting in loofah
Details
Loofah allows non-whitelisted attributes to be present in sanitized output when input with specially-crafted HTML fragments.
Users are affected if running Loofah < 2.2.1, but only:
- when running on MRI or RBX,
- in combination with libxml2 >= 2.9.2.
JRuby users are not affected.
Severity
6.1 (Medium)
References
{
"affected": [
{
"ecosystem_specific": {
"fix": "bump",
"range_state": "fixed",
"resource": "nokogiri",
"resource_purl": "pkg:gem/nokogiri@1.16.3",
"upstream_fixed_in": "1.8.3"
},
"package": {
"ecosystem": "Homebrew",
"name": "mikutter",
"purl": "pkg:brew/mikutter"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5.1.2"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"confidence": "high",
"source": "matched",
"strategy": "registry",
"upstream_evidence": [
{
"ecosystem": "RubyGems",
"key": "pkg:gem/nokogiri@1.16.3",
"name": "nokogiri",
"resource": "nokogiri",
"strategy": "registry",
"subject_version": "1.16.3"
}
]
},
"details": "Loofah allows non-whitelisted attributes to be present in sanitized output when input with specially-crafted HTML fragments.\n\nUsers are affected if running Loofah \u003c 2.2.1, but only:\n\n* when running on MRI or RBX,\n* in combination with libxml2 \u003e= 2.9.2.\n\nJRuby users are not affected.",
"id": "BREW-mikutter-CVE-2018-8048",
"modified": "2026-08-13T17:14:10Z",
"published": "2026-08-13T17:14:10Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2018-8048"
},
{
"type": "WEB",
"url": "https://github.com/flavorjones/loofah/issues/144"
},
{
"type": "WEB",
"url": "https://github.com/sparklemotion/nokogiri/pull/1746"
},
{
"type": "WEB",
"url": "https://github.com/flavorjones/loofah/commit/f739cf8eac5851f328b8044281d6653f74eff116"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-x7rv-cr6v-4vm4"
},
{
"type": "WEB",
"url": "https://github.com/flavorjones/loofah"
},
{
"type": "WEB",
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/loofah/CVE-2018-8048.yml"
},
{
"type": "WEB",
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2018-8048.yml"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20191122-0003"
},
{
"type": "WEB",
"url": "https://www.debian.org/security/2018/dsa-4171"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2018/03/19/5"
}
],
"schema_version": "1.7.3",
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
}
],
"summary": "Cross-site Scripting in loofah",
"upstream": [
"GHSA-x7rv-cr6v-4vm4",
"CVE-2018-8048"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…