GitHub Advisory Database
GHSA-g4xq-jx4w-4cjv
Loofah Cross-site Scripting vulnerability
Details
In the Loofah gem for Ruby, through version 2.2.2, unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished. Users are advised to upgrade to version 2.2.3.
See https://github.com/flavorjones/loofah/issues/154 for more details.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| RubyGems | loofah | All versions before 2.2.3 (fixed in 2.2.3) |