{"id":"ghsa-ghsa-cpgf-5mjf-73p7","seq":6664551,"kind":"advisory","title":"rails-html-sanitizer: Possible regular expression denial of service with certain configurations","url":"https://github.com/advisories/GHSA-cpgf-5mjf-73p7","permalink":"https://vulnpulse.app/items/ghsa-ghsa-cpgf-5mjf-73p7","summary":"影響: rubygems:rails-html-sanitizer >= 1.0.3, < 1.7.2 → 1.7.2\nRails::HTML::PermitScrubber restricts the href and xlink:href attributes of SVG reference elements to local references. That check matched the attribute value against /^\\s[^#\\s]./m. In Ruby ^ anchors to every line start and \\s matches newlines, so an all-whitespace value made the engine rescan the value from each of its line starts, taking time quadratic in its length. - Versions affected: >= 1.0.3, < 1.7.2 - Not affected: < 1.0.3 - Fixed versions: 1.7.2 Only Ruby 3.1 and earlier are affected.…","severity":"medium","cvss":null,"techs":["ruby","rails"],"cves":["CVE-2026-128068"],"tags":["GHSA-cpgf-5mjf-73p7","rails-html-sanitizer"],"source":{"id":"ghsa","name":"GitHub Advisory Database"},"published_at":"2026-11-13T17:54:38.000Z","fetched_at":"2026-11-13T18:28:51.999Z"}