CVE-2018-8048: Cross-site Scripting in loofah

CVE-2018-8048 · Severity: low · CVSS 3 · Published 2018-03-21

Cross-site Scripting in loofah

Technologies: loofah (RubyGems), nokogiri (RubyGems). Vendors: RubyGems.

Quick answers

Is CVE-2018-8048 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2018-8048 being exploited in the wild.
How severe is CVE-2018-8048?
Low severity, with a CVSS score of 3, published 21 March 2018.
Which products and versions are affected?
loofah (RubyGems) ECOSYSTEM:introduced=0,fixed=2.2.1; nokogiri (RubyGems) ECOSYSTEM:introduced=0,fixed=1.8.3.
Is there a fix for CVE-2018-8048?
Yes. loofah (RubyGems): upgrade to 2.2.1 or later; nokogiri (RubyGems): upgrade to 1.8.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2018-8048?
Check whether you run loofah (RubyGems) or nokogiri (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • loofah (RubyGems): upgrade to 2.2.1 or later
    bundle update loofah
  • nokogiri (RubyGems): upgrade to 1.8.3 or later
    bundle update nokogiri

Affected products

  • loofah (RubyGems) ECOSYSTEM:introduced=0,fixed=2.2.1
  • nokogiri (RubyGems) ECOSYSTEM:introduced=0,fixed=1.8.3

Identifiers

  • CVE-2018-8048
  • GHSA-x7rv-cr6v-4vm4

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.