Loofah Project Loofah vulnerabilities
7 known vulnerabilities affecting loofah_project/loofah.
Total CVEs
7
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
HIGH2MEDIUM5
Vulnerabilities
Page 1 of 1
CVE-2022-23514HIGHCVSS 7.5fixed in 2.19.12022-12-14
CVE-2022-23514 [HIGH] CWE-1333 CVE-2022-23514: Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, buil
Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Loofah < 2.19.1 contains an inefficient regular expression that is susceptible to excessive backtracking when attempting to sanitize certain SVG attributes. This may lead to a denial of service through CPU resource consumption. Th
ghsanvdosv
CVE-2022-23516HIGHCVSS 7.5≥ 2.2.0, < 2.19.12022-12-14
CVE-2022-23516 [HIGH] CWE-674 CVE-2022-23516: Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, buil
Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Loofah >= 2.2.0, < 2.19.1 uses recursion for sanitizing CDATA sections, making it susceptible to stack exhaustion and raising a SystemStackError exception. This may lead to a denial of service through CPU resource consumption. This
ghsanvdosv
CVE-2022-23515MEDIUMCVSS 6.1≥ 2.1.0, < 2.19.12022-12-14
CVE-2022-23515 [MEDIUM] CWE-79 CVE-2022-23515: Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, buil
Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Loofah >= 2.1.0, < 2.19.1 is vulnerable to cross-site scripting via the image/svg+xml media type in data URIs. This issue is patched in version 2.19.1.
ghsanvdosv
CVE-2022-23518MEDIUMCVSS 6.1≥ 2.1.0, < 2.19.12022-12-14
CVE-2022-23518 [MEDIUM] CWE-79 CVE-2022-23518: rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Versions >=
rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Versions >= 1.0.3, = 2.1.0. This issue is patched in version 1.4.4.
nvd
CVE-2019-15587MEDIUMCVSS 5.4≤ 2.3.02019-10-22
CVE-2019-15587 [MEDIUM] CWE-79 CVE-2019-15587: In the Loofah gem for Ruby through v2.3.0 unsanitized JavaScript may occur in sanitized output when
In the Loofah gem for Ruby through v2.3.0 unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished.
ghsanvdosv
CVE-2018-16468MEDIUMCVSS 5.4≤ 2.2.22018-10-30
CVE-2018-16468 [MEDIUM] CWE-79 CVE-2018-16468: In the Loofah gem for Ruby, through v2.2.2, unsanitized JavaScript may occur in sanitized output whe
In the Loofah gem for Ruby, through v2.2.2, unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished.
ghsanvdosv
CVE-2018-8048MEDIUMCVSS 6.1fixed in 2.2.12018-03-27
CVE-2018-8048 [MEDIUM] CWE-79 CVE-2018-8048: In the Loofah gem through 2.2.0 for Ruby, non-whitelisted HTML attributes may occur in sanitized out
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.
ghsanvdosv