Skip to main content
VulnerabilityPublished

CVE-2026-128068: rails-html-sanitizer · Uncontrolled Resource Consumption

Affects rails-html-sanitizerSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.3 Medium : upgrade to 1.7.2 when convenient.

Data as of 13 Nov 2026, 17:36 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.3
Patch
Available – fixed in 1.7.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.

What to do

Upgrade rails-html-sanitizer to 1.7.2.

Affected software

ProductAffectedFixed in
railsrails-html-sanitizerAffected
  • >=1.0.3 <1.7.2
Fixed in
  • 1.7.2

AI-suggested

Upgrade rails-html-sanitizer to version 1.7.2 or later, where this issue is fixed. Applications using the default allowed tag configuration are not affected. No other mitigation is required.

Description

A vulnerability in rails-html-sanitizer versions 1.0.3 through 1.7.1 allows an attacker to cause uncontrolled resource consumption (CPU usage) by supplying crafted HTML with SVG reference elements and certain href attributes. This leads to quadratic CPU consumption due to inefficient regular expression matching in affected Ruby interpreters. The issue is fixed in version 1.7.2.

References

Community reviews

Loading reviews…