Security mailing lists by PureSourceCode

CVE-2019-15587

MEDIUM 5.4CVSS 3.1

Loofah Allows Cross-site Scripting

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

Published
22 Oct 2019
Last modified
17 Jun 2026
Assigned by
support@hackerone.com
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-c3gv-9cxf-6f57
Sources
NVDJSONOSV GHSA-c3gv-9cxf-6f57JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 3.5 AV:N/AC:M/Au:S/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD loofah_project loofah
cpe:2.3:a:loofah_project:loofah:*:*:*:*:*:ruby:*:*
<= 2.3.0
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
= 30
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
= 31
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
= 16.04
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
OSV RubyGems loofah < 2.3.1 2.3.1

References

History

  • 25 Nov 2026 20:30 UTC · NVD: first stored (published 22 Oct 2019)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Nov 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.