Advisory

GHSA-c3gv-9cxf-6f57

Also known as: CVE-2019-15587

Summary

Loofah Allows Cross-site Scripting

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2019-11-05 23:58 UTC
Modified
2024-02-16 08:24 UTC

Affected packages and fixes

loofah

RubyGems · All systems

Affected

  • introduced 0, fixed 2.3.1 (ecosystem)

Fixed versions

2.3.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences