Upstream information
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.SUSE information
Overall state of this security issue: Pending
This issue is currently rated as having moderate severity.
| CVSS detail | CNA (GitHub) | SUSE |
|---|---|---|
| Base Score | 5.3 | 5.3 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| Attack Vector | Network | Network |
| Attack Complexity | Low | Low |
| Privileges Required | None | None |
| User Interaction | None | None |
| Scope | Unchanged | Unchanged |
| Confidentiality Impact | None | None |
| Integrity Impact | None | None |
| Availability Impact | Low | Low |
| CVSSv3 Version | 3.1 | 3.1 |
Status of this issue by product and package
Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.
| Product(s) | Source package | State |
|---|---|---|
| Products under general support and receiving all security fixes. | ||
| SUSE Linux Enterprise High Availability Extension 15 SP7 | rubygem-rails-html-sanitizer | Affected |
| Products under Long Term Service Pack support and receiving important and critical security fixes. | ||
| SUSE Linux Enterprise High Availability Extension 15 SP4 | rubygem-rails-html-sanitizer | Affected |
| SUSE Linux Enterprise High Availability Extension 15 SP5 | rubygem-rails-html-sanitizer | Affected |
| Products past their end of life and not receiving proactive updates anymore. | ||
| SUSE Linux Enterprise High Availability Extension 15 | rubygem-rails-html-sanitizer | Affected |
| SUSE Linux Enterprise High Availability Extension 15 SP1 | rubygem-rails-html-sanitizer | Affected |
| SUSE Linux Enterprise High Availability Extension 15 SP2 | rubygem-rails-html-sanitizer | Affected |
| SUSE Linux Enterprise High Availability Extension 15 SP3 | rubygem-rails-html-sanitizer | Affected |
| SUSE Linux Enterprise High Availability Extension 15 SP6 | rubygem-rails-html-sanitizer | Affected |
| openSUSE Leap 15.3 | rubygem-rails-html-sanitizer | Affected |
| openSUSE Leap 15.4 | rubygem-rails-html-sanitizer | Affected |
| openSUSE Leap 15.5 | rubygem-rails-html-sanitizer | Affected |
| openSUSE Leap 15.6 | rubygem-rails-html-sanitizer | Affected |
SUSE Timeline for this CVE
CVE page created: Fri Nov 13 22:03:27 2026CVE page last modified: Fri Nov 13 22:03:27 2026