VDB
Sign up
MEDIUM5.4

GHSA-c3gv-9cxf-6f57

Loofah Allows Cross-site Scripting

Quick fix

GHSA-c3gv-9cxf-6f57 — loofah: upgrade to the fixed version with the command below.

bundle update loofah

Details

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

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/loofah
Introduced in: 0Fixed in: 2.3.1
Fixbundle update loofah

References