GHSA-x7rv-cr6v-4vm4
Vulnerability from github
Published
2018-03-21 11:57
Modified
2023-07-05 20:45
Severity ?
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.
{ "affected": [ { "package": { "ecosystem": "RubyGems", "name": "loofah" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "2.2.1" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "RubyGems", "name": "nokogiri" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "1.8.3" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2018-8048" ], "database_specific": { "cwe_ids": [ "CWE-79" ], "github_reviewed": true, "github_reviewed_at": "2020-06-16T22:02:35Z", "nvd_published_at": null, "severity": "MODERATE" }, "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": "GHSA-x7rv-cr6v-4vm4", "modified": "2023-07-05T20:45:55Z", "published": "2018-03-21T11:57:11Z", "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.4.0", "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" }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.