ADVISORIES

Vulnerability

CVE-2026-128068

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.

36 advisories report this vulnerability, across 5 ecosystems.

Advisories

  • CGA-23pg-gp93-jp69
    CVE-2026-128068 Chainguard Updated 14 November 2026
  • CGA-2h56-rc78-wfvp
    CVE-2026-128068 Chainguard Updated 15 November 2026
  • CGA-2j6h-jg6c-f336
    CVE-2026-128068 Chainguard Updated 14 November 2026
  • CGA-3c52-xhx7-4pmf
    CVE-2026-128068 Chainguard Updated 15 November 2026
  • CGA-3mp8-p9v7-78h3
    CVE-2026-128068 Chainguard Updated 14 November 2026
  • CGA-5998-g394-vgf9
    CVE-2026-128068 Chainguard Updated 15 November 2026
  • CGA-7443-6q7x-237p
    CVE-2026-128068 Chainguard Updated 15 November 2026
  • CGA-74h6-j45g-cx8h
    CVE-2026-128068 Chainguard Updated 14 November 2026
  • CGA-79g3-66h3-j88g
    CVE-2026-128068 Chainguard Updated 15 November 2026
  • CGA-82c3-r5p5-rhhw
    CVE-2026-128068 Chainguard Updated 14 November 2026
  • CGA-85w8-wc5h-3mv7
    CVE-2026-128068 Chainguard Updated 14 November 2026
  • CGA-8jq5-5mjj-hc2q
    CVE-2026-128068 Chainguard Updated 14 November 2026
  • CGA-9r7m-23wr-hfcx
    CVE-2026-128068 Chainguard Updated 14 November 2026
  • CGA-chq2-653j-9ppg
    CVE-2026-128068 Chainguard Updated 14 November 2026
  • CGA-f25v-2p9x-p895
    CVE-2026-128068 Chainguard Updated 14 November 2026
  • CGA-j626-f4f5-vrhq
    CVE-2026-128068 Chainguard Updated 14 November 2026
  • CGA-j74x-hxx5-5fh3
    CVE-2026-128068 Chainguard Updated 14 November 2026
  • CGA-j7v4-q2x5-3qqg
    CVE-2026-128068 Chainguard Updated 14 November 2026
  • CGA-jqx5-h2m9-6p22
    CVE-2026-128068 Chainguard Updated 14 November 2026
  • CGA-m9j9-p28p-rj48
    CVE-2026-128068 Chainguard Updated 14 November 2026
  • CGA-p67h-9cgv-v2r7
    CVE-2026-128068 Chainguard Updated 14 November 2026
  • CGA-p9mx-26xc-c27x
    CVE-2026-128068 Chainguard Updated 14 November 2026
  • CGA-pf5p-gx98-jgx6
    CVE-2026-128068 Chainguard Updated 14 November 2026
  • CGA-qw5r-hq4r-mqq7
    CVE-2026-128068 Chainguard Updated 14 November 2026
  • CGA-r2vj-2pxm-jf9v
    CVE-2026-128068 Chainguard Updated 15 November 2026
  • CGA-r483-fp4r-6cff
    CVE-2026-128068 Chainguard Updated 14 November 2026
  • CGA-v85w-jrh9-vvhg
    CVE-2026-128068 Chainguard Updated 15 November 2026
  • CGA-vm3w-5qgh-8gg6
    CVE-2026-128068 Chainguard Updated 14 November 2026
  • CGA-vmcr-gj3q-cvqw
    CVE-2026-128068 Chainguard Updated 14 November 2026
  • CGA-w6fh-2w75-pgg6
    CVE-2026-128068 Chainguard Updated 15 November 2026
  • CGA-wh4j-9pgx-fvpc
    CVE-2026-128068 Chainguard Updated 15 November 2026
  • CGA-x9w5-mr7j-jw34
    CVE-2026-128068 Chainguard Updated 14 November 2026
  • DEBIAN-CVE-2026-128068

    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…

    CVE-2026-128068 Debian Updated 23 November 2026
  • GHSA-cpgf-5mjf-73p7

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

    Moderate CVE-2026-128068 RubyGems Updated 13 November 2026
  • SUSEVEX-CVE-2026-128068

    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…

    Moderate CVE-2026-128068 SUSE Updated 14 November 2026
  • UBUNTU-CVE-2026-128068

    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…

    CVE-2026-128068 Ubuntu Updated 24 November 2026

References