CVE-2019-15587Loofah Project Loofah
Medium 5.4
Follow: this CVE · Loofah Project · Loofah Project Loofah We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.4
- EPSS
- 1.6% probability of exploitation in 30 days · percentile 76
- Auth required
- Yes
- Published
- Oct 22, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
In the Loofah gem for Ruby through v2.3.0 unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished.
What to do
- Apply the vendor's security update for Loofah.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | loofah |
< 2.3.1 |
2.3.1 |
gem "loofah", ">= 2.3.1" |
Per OSV / GitHub Advisories (GHSA-c3gv-9cxf-6f57). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| loofah_project | loofah | ≤ 2.3.0 |
| fedoraproject | fedora | 30 |
| fedoraproject | fedora | 31 |
| canonical | ubuntu_linux | 16.04 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
Official advisories
- ruby4.0-rubygem-loofah-2.23.1-1.5 on GA media · SUSE · openSUSE-SU-2026:10353-1 · Mar 13, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- hackerone.com Permissions Required Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.netapp.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- www.debian.org Third Party Advisory