You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri.
Loofah excels at HTML sanitization (XSS prevention). It includes some nice HTML sanitizers, which are based on HTML5lib's safelist, so it most likely won't make your codes less secure. (These statements have not been evaluated by Netexperts.)
Path to vulnerable library: /home/wss-scanner/.gem/ruby/2.7.0/cache/loofah-2.15.0.gem
Dependency Hierarchy:
invisible_standards-0.1.2.gem (Root Library)
rails-7.0.2.3.gem
actionmailer-7.0.2.3.gem
actionpack-7.0.2.3.gem
actionview-7.0.2.3.gem
rails-html-sanitizer-1.4.2.gem
❌ loofah-2.15.0.gem (Vulnerable Library)
Found in base branch: master
Vulnerability Details
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. This issue is patched in version 2.19.1.
CVE-2022-23514 - High Severity Vulnerability
Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri.
Loofah excels at HTML sanitization (XSS prevention). It includes some nice HTML sanitizers, which are based on HTML5lib's safelist, so it most likely won't make your codes less secure. (These statements have not been evaluated by Netexperts.)
ActiveRecord extensions for sanitization are available in the
loofah-activerecord
gem.Library home page: https://rubygems.org/gems/loofah-2.15.0.gem
Path to dependency file: /Gemfile.lock
Path to vulnerable library: /home/wss-scanner/.gem/ruby/2.7.0/cache/loofah-2.15.0.gem
Dependency Hierarchy:
Found in base branch: master
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. This issue is patched in version 2.19.1.
Publish Date: 2022-12-14
URL: CVE-2022-23514
Base Score Metrics:
Type: Upgrade version
Origin: GHSA-486f-hjj9-9vhh
Release Date: 2022-12-14
Fix Resolution: loofah - 2.19.1
Step up your Open Source Security Game with Mend here
The text was updated successfully, but these errors were encountered: