Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-128068

rails-html-sanitizer is responsible for sanitizing HTML fragments in R ...

Overview

Published
13 Nov 2026
Modified
16 Nov 2026
Medium CVE
1 Registry packages
1 OS packages
2 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

5.3 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Weakness: CWE-400, CWE-1333

Affected packages · 1

Packages affected by CVE-2026-128068
EcosystemPackageVulnerableFixed in
RubyGems rails-html-sanitizer >=1.0.3, <1.7.2 1.7.2

Open a package to see all its vulnerabilities.

Operating systems · 5 fixes

debian 4 releases · 1 package

affected 4
ruby-rails-html-sanitizer
debian fixes for CVE-2026-128068
ReleasePackageFixed in
11 ruby-rails-html-sanitizer affected
12 ruby-rails-html-sanitizer affected
13 ruby-rails-html-sanitizer affected
14 ruby-rails-html-sanitizer affected

echo 1 release · 1 package

affected 1
ruby-rails-html-sanitizer
echo fixes for CVE-2026-128068
ReleasePackageFixed in
ruby-rails-html-sanitizer affected

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.