Rails Html Sanitizer
Approved changes feed: RSS · Atom
cpe:2.3:a:rails:rails-html-sanitizer:*:*:*:*:*:*:*:*part: a version: * update: *
| Vendor | Rails (c2f75d8c-3de5-5ca8-bae8-6b2589edf586) |
|---|---|
| Product | Rails Html Sanitizer (bdcb8f1d-9b42-5a66-9e9a-943a3ab2b26d) |
| Edition | * |
| Language | * |
| Software edition | * |
| Target software | * |
| Target hardware | * |
| Other | * |
Notes
Imported from gcve-enriched-dumps CVE data
PURL mappings
| PURL | Source | Last updated |
|---|---|---|
| No PURL mappings for this CPE yet. | ||
Vulnerability references
| Identifier | cpeApplicability | Submitted | db.gcve.eu details | Rationale |
|---|---|---|---|---|
CVE:CVE-2026-128068 |
vulnerable | 2026-11-19 05:27:49.210960 |
rails-html-sanitizer: Possible regular expression denial of service with certain configurations
MEDIUM (5.3)
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.
Published: 2026-11-13T17:15:56.816Z
Updated: 2026-11-16T15:40:04.153Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-128069 |
vulnerable | 2026-11-19 05:27:49.183429 |
rails-html-sanitizer: Possible XSS via shared scrubber state in concurrent calls
MEDIUM (4.7)
rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Before 1.7.2, the HTML4 and HTML5 variants of Rails::HTML::SafeListSanitizer reuse one Rails::HTML::PermitScrubber across calls and mutate its tags and attributes without synchronization. In a multithreaded process, concurrent sanitize calls using different tags: or attributes: options can interleave and cause one call to use the other call's allowlist. If a permissive call admits a script element or event-handler attribute, output expected to be sanitized under a stricter policy can retain it and cause cross-site scripting when rendered. Applications that are single-threaded, use one identical allowlist everywhere, or provide a separate scrubber: are not affected. This issue is fixed in version 1.7.2.
Published: 2026-11-13T17:17:47.954Z
Updated: 2026-11-18T12:45:06.585Z Reference links
|
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2024-53989 |
vulnerable | 2026-06-08 06:54:15.810254 |
Possible XSS vulnerability with certain configurations of rails-html-sanitizer 1.6.0
rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. There is a possible XSS vulnerability with certain configurations of Rails::HTML::Sanitizer 1.6.0 when used with Rails >= 7.1.0. A possible XSS vulnerability with certain configurations of Rails::HTML::Sanitizer may allow an attacker to inject content if HTML5 sanitization is enabled and the application developer has overridden the sanitizer's allowed tags for the the "noscript" element. This vulnerability is fixed in 1.6.1.
Published: 2024-12-02T21:07:04.296Z
Updated: 2024-12-03T14:35:25.922Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2024-53988 |
vulnerable | 2026-06-08 06:54:15.809875 |
Possible XSS vulnerability with certain configurations of rails-html-sanitizer 1.6.0
rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. There is a possible XSS vulnerability with certain configurations of Rails::HTML::Sanitizer 1.6.0 when used with Rails >= 7.1.0. A possible XSS vulnerability with certain configurations of Rails::HTML::Sanitizer may allow an attacker to inject content if HTML5 sanitization is enabled and the application developer has overridden the sanitizer's allowed tags where the "math", "mtext", "table", and "style" elements are allowed and either either "mglyph" or "malignmark" are allowed. This vulnerability is fixed in 1.6.1.
Published: 2024-12-02T21:09:56.440Z
Updated: 2024-12-03T14:34:23.054Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2024-53987 |
vulnerable | 2026-06-08 06:54:15.809298 |
Possible XSS vulnerability with certain configurations of rails-html-sanitizer 1.6.0
rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. There is a possible XSS vulnerability with certain configurations of Rails::HTML::Sanitizer 1.6.0 when used with Rails >= 7.1.0. A possible XSS vulnerability with certain configurations of Rails::HTML::Sanitizer may allow an attacker to inject content if HTML5 sanitization is enabled and the application developer has overridden the sanitizer's allowed tags where the "style" element is explicitly allowed and the "svg" or "math" element is not allowed. This vulnerability is fixed in 1.6.1.
Published: 2024-12-02T21:15:48.975Z
Updated: 2024-12-03T14:33:22.284Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2024-53986 |
vulnerable | 2026-06-08 06:54:15.808896 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2024-53985 |
vulnerable | 2026-06-08 06:54:15.807232 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2022-23520 |
vulnerable | 2026-06-08 05:40:57.683280 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2022-23519 |
vulnerable | 2026-06-08 05:40:57.682898 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2022-23518 |
vulnerable | 2026-06-08 05:40:57.682398 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2022-23517 |
vulnerable | 2026-06-08 05:40:57.681322 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2018-3741 |
vulnerable | 2026-06-08 05:11:41.208173 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
Contribute
You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.
Inspect record JSON
Open this panel to browse, search, copy or download the JSON record.