CVE-2019-15587

MEDIUM

Loofah < 2.3.0 - Cross-Site Scripting via SVG Element

Title source: llm
STIX 2.1

Description

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

References (7)

Core 7
Core References
Permissions Required, Third Party Advisory x_refsource_misc
https://hackerone.com/reports/709009
Third Party Advisory x_refsource_confirm
https://github.com/flavorjones/loofah/issues/171
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2019/dsa-4554
Third Party Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20191122-0003/
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/4498-1/

Scores

CVSS v3 5.4
EPSS 0.0233
EPSS Percentile 85.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Details

CWE
CWE-79
Status published
Products (7)
canonical/ubuntu_linux 16.04
debian/debian_linux 9.0
debian/debian_linux 10.0
fedoraproject/fedora 30
fedoraproject/fedora 31
loofah_project/loofah < 2.3.0
rubygems/loofah 0 - 2.3.1RubyGems
Published Oct 22, 2019
Tracked Since Feb 18, 2026