CVE-2024-53987: rails-html-sanitizer has XSS vulnerability with certain configurations

CVE-2024-53987 · Severity: medium · CVSS 4 · Published 2024-12-02

rails-html-sanitizer has XSS vulnerability with certain configurations

Technologies: rails-html-sanitizer (RubyGems). Vendors: RubyGems.

Quick answers

Is CVE-2024-53987 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-53987 being exploited in the wild.
How severe is CVE-2024-53987?
Medium severity, with a CVSS score of 4, published 2 December 2024.
Which products and versions are affected?
rails-html-sanitizer (RubyGems) ECOSYSTEM:introduced=1.6.0,fixed=1.6.1.
Is there a fix for CVE-2024-53987?
Yes. rails-html-sanitizer (RubyGems): upgrade to 1.6.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2024-53987?
Check whether you run rails-html-sanitizer (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

  • rails-html-sanitizer (RubyGems): upgrade to 1.6.1 or later
    bundle update rails-html-sanitizer

Affected products

  • rails-html-sanitizer (RubyGems) ECOSYSTEM:introduced=1.6.0,fixed=1.6.1

Identifiers

  • CVE-2024-53987
  • GHSA-2x5m-9ch4-qgrr

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