SecurityContext

CVE-2019-15587: Loofah Ruby - Stored XSS

  • Cve: CVE-2019-15587
  • Name: Loofah Ruby - Stored XSS
  • 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.
  • Impact: Attackers can execute malicious scripts in users' browsers, leading to potential data theft or session hijacking.
  • Remediation: Update to version 2.3.1 or later to address the vulnerability.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs to craft specific SVG elements
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.01561
  • Epss percentile: 0.75891
  • Assignee: [email protected]
  • Published at: 2019-10-22T21:15:10Z
  • Age in days: 2590
  • Modified at: 2026-06-17T02:20:41Z
  • References total: 7
  • Products total: 4
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-15587
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Hackerone

  • Reports: 3
  • Rank: 3240

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/flavorjones/loofah/issues/171Third Party Advisory
https://hackerone.com/reports/709009Permissions Required, Third Party Advisory
https://security.netapp.com/advisory/ntap-20191122-0003/Third Party Advisory
https://usn.ubuntu.com/4498-1/Third Party Advisory
https://www.debian.org/security/2019/dsa-4554Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4WK2UG7ORKRQOJ6E4XJ2NVIHYJES6BYZ/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XMCWPLYPNIWYAY443IZZJ4IHBBLIHBP5/

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
loofah_project:loofah<= 2.3.0/v1/products/loofah_project/loofah
debian:debian_linux= 10.0, = 9.0/v1/products/debian/debian_linux
fedoraproject:fedora= 31, = 30/v1/products/fedoraproject/fedora
canonical:ubuntu_linux= 16.04/v1/products/canonical/ubuntu_linux

Projects

RepositoryLink kindsIndexedUrl
flavorjones/loofahcommit, issues, packageyes/v1/repositories/flavorjones/loofah

Index

  • Repositories: 21
  • Repositories high signal: 1
  • Packages: 1

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Hackerone reports: 3
  • Exposed hosts: 21216412
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since