GitHub Advisoryadvisory · RubyGems
GHSA-c3gv-9cxf-6f57 Loofah Allows Cross-site Scripting
MEDIUM
Official page ↗
- Aliases
- CVE-2019-15587
- Ecosystem
- RubyGems
- Packages
- loofah
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2019-10-24
Affected packages
• RubyGems loofah: < 2.3.1 → fixed in 2.3.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.
Related
Alias · CVE (1)
- CVE-2019-15587 In the Loofah gem for Ruby through v2.3.0 unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-15587 advisory
- https://github.com/flavorjones/loofah/issues/171 web
- https://github.com/flavorjones/loofah/commit/0c6617af440879ce97440f6eb6c58636456dc8ec web
- https://hackerone.com/reports/709009 web
- https://github.com/flavorjones/loofah package
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/loofah/CVE-2019-15587.yml web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/4WK2UG7ORKRQOJ6E4XJ2NVIHYJES6BYZ web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/XMCWPLYPNIWYAY443IZZJ4IHBBLIHBP5 web
- https://security.netapp.com/advisory/ntap-20191122-0003 web
- https://usn.ubuntu.com/4498-1 web
- https://www.debian.org/security/2019/dsa-4554 web