GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration
brew-mikutter-cve-2018-8048
Vulnerability from osv_homebrew
Published
2026-08-13 17:14
Modified
2026-08-13 17:14
Summary
Cross-site Scripting in loofah
Details

Loofah allows non-whitelisted attributes to be present in sanitized output when input with specially-crafted HTML fragments.

Users are affected if running Loofah < 2.2.1, but only:

  • when running on MRI or RBX,
  • in combination with libxml2 >= 2.9.2.

JRuby users are not affected.


{
  "affected": [
    {
      "ecosystem_specific": {
        "fix": "bump",
        "range_state": "fixed",
        "resource": "nokogiri",
        "resource_purl": "pkg:gem/nokogiri@1.16.3",
        "upstream_fixed_in": "1.8.3"
      },
      "package": {
        "ecosystem": "Homebrew",
        "name": "mikutter",
        "purl": "pkg:brew/mikutter"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.1.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "confidence": "high",
    "source": "matched",
    "strategy": "registry",
    "upstream_evidence": [
      {
        "ecosystem": "RubyGems",
        "key": "pkg:gem/nokogiri@1.16.3",
        "name": "nokogiri",
        "resource": "nokogiri",
        "strategy": "registry",
        "subject_version": "1.16.3"
      }
    ]
  },
  "details": "Loofah allows non-whitelisted attributes to be present in sanitized output when input with specially-crafted HTML fragments.\n\nUsers are affected if running Loofah \u003c 2.2.1, but only:\n\n* when running on MRI or RBX,\n* in combination with libxml2 \u003e= 2.9.2.\n\nJRuby users are not affected.",
  "id": "BREW-mikutter-CVE-2018-8048",
  "modified": "2026-08-13T17:14:10Z",
  "published": "2026-08-13T17:14:10Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-8048"
    },
    {
      "type": "WEB",
      "url": "https://github.com/flavorjones/loofah/issues/144"
    },
    {
      "type": "WEB",
      "url": "https://github.com/sparklemotion/nokogiri/pull/1746"
    },
    {
      "type": "WEB",
      "url": "https://github.com/flavorjones/loofah/commit/f739cf8eac5851f328b8044281d6653f74eff116"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-x7rv-cr6v-4vm4"
    },
    {
      "type": "WEB",
      "url": "https://github.com/flavorjones/loofah"
    },
    {
      "type": "WEB",
      "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/loofah/CVE-2018-8048.yml"
    },
    {
      "type": "WEB",
      "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2018-8048.yml"
    },
    {
      "type": "WEB",
      "url": "https://security.netapp.com/advisory/ntap-20191122-0003"
    },
    {
      "type": "WEB",
      "url": "https://www.debian.org/security/2018/dsa-4171"
    },
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2018/03/19/5"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Cross-site Scripting in loofah",
  "upstream": [
    "GHSA-x7rv-cr6v-4vm4",
    "CVE-2018-8048"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…