p PatchFirst

PatchFirst · Vulnerabilidades recientes

Vulnerabilidades de ruby-rails-html-sanitizer

Vulnerabilidades publicadas para ruby-rails-html-sanitizer en los últimos 30 días: 2. Incluidas en el catálogo KEV: 0.

Filtrar vulnerabilidades
Borrar filtros

Vulnerabilidades: 12

  1. CVE-2026-128069

    Media · CVSS 4.7EPSS 0,22%Sin corrección publicada

    rails-html-sanitizer: Possible XSS via shared scrubber state in concurrent calls

    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 tha

    Publicación Actualización
  2. CVE-2026-128068

    Media · CVSS 5.3EPSS 0,45%Sin corrección publicada

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

    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,

    Publicación Actualización
  3. CVE-2026-73648

    Media · CVSS 5.1EPSS 0,55%Sin corrección publicada

    rails-html-sanitizer: Possible XSS vulnerability with certain configurations

    rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. From 1.0.3 until 1.7.1, Rails::HTML::PermitScrubber restricted SVG reference elements in SVG_ALLOW_LOCAL_HREF only when they used xlink:href, even though browsers also accept the plain href attribute. Applications with non-default allowed tags that included SVG use or feImage elements could therefore permit external references; a same-origin external SVG referenced by use could execute scripts in the sanitized document's context, while feImage could load external images for tracking. Applications using the default allowed tags are not affected. This issue

    Publicación Actualización
  4. CVE-2024-53985

    Baja · CVSS 2.3EPSS 0,63%Sin corrección publicada

    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 and Nokogiri < 1.15.7, or 1.16.x < 1.16.8. The 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 with both "math" and "style" elements or both both "svg" and "style" elements. This vulnerability is fixed in 1.6.1.

    Publicación Actualización
  5. CVE-2024-53987

    Baja · CVSS 2.3EPSS 0,47%Sin corrección publicada

    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.

    Publicación Actualización
  6. CVE-2024-53986

    Baja · CVSS 2.3EPSS 0,5%Sin corrección publicada

    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" and "style" elements are both explicitly allowed. This vulnerability is fixed in 1.6.1.

    Publicación Actualización
  7. CVE-2024-53988

    Baja · CVSS 2.3EPSS 0,47%Sin corrección publicada

    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.

    Publicación Actualización
  8. CVE-2024-53989

    Baja · CVSS 2.3EPSS 0,5%Sin corrección publicada

    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.

    Publicación Actualización
  9. CVE-2022-23520

    Media · CVSS 6.1EPSS 1,21%Sin corrección publicada

    rails-html-sanitizer contains an incomplete fix for an XSS vulnerability

    rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Prior to version 1.4.4, there is a possible XSS vulnerability with certain configurations of Rails::Html::Sanitizer due to an incomplete fix of CVE-2022-32209. Rails::Html::Sanitizer may allow an attacker to inject content if the application developer has overridden the sanitizer's allowed tags to allow both "select" and "style" elements. Code is only impacted if allowed tags are being overridden. This issue is patched in version 1.4.4. All users overriding the allowed tags to include both "select" and "style" should either upgrade or use this workaround:

    Publicación Actualización
  10. CVE-2022-23519

    Alta · CVSS 7.2EPSS 1,08%Sin corrección publicada

    Possible XSS vulnerability with certain configurations of rails-html-sanitizer

    rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Prior to version 1.4.4, a possible XSS vulnerability with certain configurations of Rails::Html::Sanitizer may allow an attacker to inject content if the application developer has overridden the sanitizer's allowed tags in either of the following ways: allow both "math" and "style" elements, or allow both "svg" and "style" elements. Code is only impacted if allowed tags are being overridden. . This issue is fixed in version 1.4.4. All users overriding the allowed tags to include "math" or "svg" and "style" should either upgrade or use the following worka

    Publicación Actualización
  11. CVE-2022-23518

    Media · CVSS 6.1EPSS 0,94%Sin corrección publicada

    Improper neutralization of data URIs allows XSS in rails-html-sanitizer

    rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Versions >= 1.0.3, < 1.4.4 are vulnerable to cross-site scripting via data URIs when used in combination with Loofah >= 2.1.0. This issue is patched in version 1.4.4.

    Publicación Actualización
  12. CVE-2022-23517

    Alta · CVSS 7.5EPSS 1,59%Sin corrección publicada

    Inefficient Regular Expression Complexity in rails-html-sanitizer

    rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Certain configurations of rails-html-sanitizer < 1.4.4 use an inefficient regular expression that is susceptible to excessive backtracking when attempting to sanitize certain SVG attributes. This may lead to a denial of service through CPU resource consumption. This issue has been patched in version 1.4.4.

    Publicación Actualización

Comprueba tu servidor

Compara tu pila y las versiones instaladas con las bases actuales de vulnerabilidades.

Comprueba tu servidor →