5.3

CVE-2026-128068: rails-html-sanitizer: Possible regular expression denial of service with certain configurations

Received
AliasesGHSA-cpgf-5mjf-73p7CGA-23pg-gp93-jp69CGA-8jq5-5mjj-hc2q
Published 13-11-2026Last modified 16-11-2026

Vulnerability summary

CVE-2026-128068 is a medium (CVSS 5.3) Uncontrolled Resource Consumption vulnerability in rails rails-html-sanitizer. EPSS estimates a 0.45% chance of exploitation in the next 30 days, higher than 41.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.45%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 13-11-2026
    PublishedVulnerability first disclosed.
  2. 16-11-2026
    Last modifiedVulnerability information updated.

Description

rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. From 1.0.3 through 1.7.1, Rails::HTML::PermitScrubber checks SVG href and xlink:href local references with a pattern whose line-start anchor and whitespace class cause an all-whitespace value to be rescanned from each line start. An attacker who supplies HTML can cause quadratic CPU consumption when an application customizes its allowed tags to include an SVG reference element such as use and permits href or xlink:href. The default allowed tag configuration is not affected. CRuby 3.2 and later uses linear-time regular expression matching for this pattern, while CRuby 3.1 and earlier and JRuby are affected. This issue is fixed in version 1.7.2.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.45%

Chance of exploitation in the next 30 days

Percentile

41%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

14-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard14 products
  • commercial-gitlab-rails-ee-19.1All versions (No fix recorded)
  • gitlab-rails-ce-18.10All versions (No fix recorded)
  • gitlab-rails-ce-18.11All versions (No fix recorded)
  • gitlab-rails-ce-18.8All versions (No fix recorded)
  • gitlab-rails-ce-18.9All versions (No fix recorded)
Debian1 product
  • ruby-rails-html-sanitizerAll versions (No fix recorded) | < 1.7.2-1
Rails1 product
RubyGems1 product
  • rails-html-sanitizer≥ 1.0.3, < 1.7.2
Ubuntu1 product
  • ruby-rails-html-sanitizerAll versions (No fix recorded)

5 vendors · 18 products

References

10 links