Skip to main content
← All vulnerabilities
CVE-2022-23515GHSA-228G-948R-83GX

Improper neutralization of data URIs may allow XSS in Loofah

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.19.1
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • flavorjones loofah

    From 2.1.0 · fixed in 2.19.1

  • loofahRubyGems

    From 2.1.0 · fixed in 2.19.1

References 4

GitHub · flavorjones/loofah

hackerone.com

lists.debian.org