VYPR

RubyGems package

loofah

pkg:gem/loofah

Vulnerabilities (6)

  • CVE-2022-23516Dec 14, 2022
    affected >= 2.2.0, < 2.19.1fixed 2.19.1

    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. T

  • CVE-2022-23515Dec 14, 2022
    affected >= 2.1.0, < 2.19.1fixed 2.19.1

    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.

  • CVE-2022-23514Dec 14, 2022
    affected < 2.19.1fixed 2.19.1

    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. T

  • CVE-2019-15587Oct 22, 2019
    affected < 2.3.1fixed 2.3.1

    In the Loofah gem for Ruby through v2.3.0 unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished.

  • CVE-2018-16468Oct 30, 2018
    affected < 2.2.3fixed 2.2.3

    In the Loofah gem for Ruby, through v2.2.2, unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished.

  • CVE-2018-8048Mar 27, 2018
    affected < 2.2.1fixed 2.2.1

    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.