flavorjones/loofah · Security
Loofah Allows Cross-site Scripting
- GHSA ID
- GHSA-c3gv-9cxf-6f57
- CVE ID
- CVE-2019-15587
- Severity
- medium
- Published
- Updated
- CVSS
- 5.4 · CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CVSS v3
- 5.4 · CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
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.
CWEs
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-15587 ↗
- https://github.com/flavorjones/loofah/issues/171 ↗
- https://hackerone.com/reports/709009 ↗
- https://lists.fedoraproject.org/archives/list/[email protected]/message/4WK2UG7ORKRQOJ6E4XJ2NVIHYJES6BYZ/ ↗
- https://lists.fedoraproject.org/archives/list/[email protected]/message/XMCWPLYPNIWYAY443IZZJ4IHBBLIHBP5/ ↗
- https://security.netapp.com/advisory/ntap-20191122-0003/ ↗
- https://usn.ubuntu.com/4498-1/ ↗
- https://www.debian.org/security/2019/dsa-4554 ↗
- https://github.com/flavorjones/loofah/commit/0c6617af440879ce97440f6eb6c58636456dc8ec ↗
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/loofah/CVE-2019-15587.yml ↗
- https://github.com/advisories/GHSA-c3gv-9cxf-6f57 ↗