ADVISORIES

Vulnerability

CVE-2022-23515

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.

12 advisories report this vulnerability, across 6 ecosystems.

Advisories

  • DEBIAN-CVE-2022-23515

    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…

    CVE-2022-23515 Debian Updated 20 November 2026
  • DLA-3565-1

    ruby-loofah - security update

    CVE-2022-23514CVE-2022-23515CVE-2022-23516 Debian Updated 20 November 2026
  • DLA-3901-1

    ruby-loofah - security update

    CVE-2022-23514CVE-2022-23515CVE-2022-23516 Debian Updated 20 November 2026
  • GHSA-228g-948r-83gx

    Improper neutralization of data URIs may allow XSS in Loofah

    Moderate CVE-2022-23515 RubyGems Updated 4 November 2025
  • RHSA-2023:2097

    Red Hat Security Advisory: Satellite 6.13 Release

    CVE-2021-46877CVE-2022-1471CVE-2022-22577CVE-2022-23514 Red Hat Updated 23 November 2026
  • SUSE-SU-2023:1657-1

    Security update for rubygem-loofah

    CVE-2022-23514CVE-2022-23515CVE-2022-23516 SUSEopenSUSE Updated 4 February 2026
  • SUSEVEX-CVE-2022-23515

    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…

    Moderate CVE-2022-23515 SUSE Updated 9 September 2026
  • UBUNTU-CVE-2022-23515

    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…

    CVE-2022-23515 Ubuntu Updated 24 October 2025
  • openSUSE-SU-2024:12768-1

    ruby3.1-rubygem-loofah-2.19.1-1.1 on GA media

    CVE-2022-23514CVE-2022-23515CVE-2022-23516 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:14171-1

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

    CVE-2018-16468CVE-2018-8048CVE-2019-15587CVE-2022-23514 openSUSE Updated 4 February 2026
  • openSUSE-SU-2025:15120-1

    ruby3.4-rubygem-loofah-2.23.1-1.3 on GA media

    CVE-2018-16468CVE-2018-8048CVE-2019-15587CVE-2022-23514 openSUSE Updated 4 February 2026
  • openSUSE-SU-2026:10353-1

    ruby4.0-rubygem-loofah-2.23.1-1.5 on GA media

    CVE-2018-16468CVE-2018-8048CVE-2019-15587CVE-2022-23514 openSUSE Updated 14 March 2026

References