Skip to content
OpenAdvisories
High openSUSE-SU-2024:14171-1 6 CVEs

ruby3.3-rubygem-loofah-2.22.0-1.5 on GA media

Published Jul 12, 2024 · Updated Feb 4, 2026

Summary

These are all security issues fixed in the ruby3.3-rubygem-loofah-2.22.0-1.5 package on the GA media of openSUSE Tumbleweed.

Fixed packages 1

ReleasePackageFixed in
openSUSE · Tumbleweed rubygem-loofah 2.22.0-1.5

Vulnerabilities 6

  • High 7.5

    Inefficient Regular Expression Complexity in Loofah

    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 cert…

  • High 7.5

    Uncontrolled Recursion in Loofah

    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 SystemSta…

  • Medium 6.1

    Cross-site Scripting in loofah

    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.

  • Medium 6.1

    Improper neutralization of data URIs may allow XSS in Loofah

    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 v…

  • Medium 5.4

    Loofah Cross-site Scripting vulnerability

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

  • Medium 5.4

    Loofah Allows Cross-site Scripting

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

References

  • web
    https://www.suse.com/security/cve/CVE-2018-16468
  • web
    https://www.suse.com/security/cve/CVE-2018-8048
  • web
    https://www.suse.com/security/cve/CVE-2019-15587
  • web
    https://www.suse.com/security/cve/CVE-2022-23514
  • web
    https://www.suse.com/security/cve/CVE-2022-23515
  • web
    https://www.suse.com/security/cve/CVE-2022-23516