Advisory

GHSA-g4xq-jx4w-4cjv

Also known as: CVE-2018-16468

Summary

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2018-11-01 14:46 UTC
Modified
2023-11-08 03:59 UTC

Affected packages and fixes

loofah

RubyGems · All systems

Affected

  • introduced 0, fixed 2.2.3 (ecosystem)

Fixed versions

2.2.3

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