Arama; açıklama metninde, ürün ve üretici adlarında ve açık türlerinde (Türkçe ya da İngilizce, eksik yazımla da) yapılır.

CVE-2022-32209
rubyonrails rails html sanitizers

Puan6.1 Orta
CVSS 3.1
İstismar olasılığı (EPSS)1.8%
önümüzdeki 30 gün içinde
KategoriSiteler arası betik (XSS)
Yayımlanma24 Haziran 2022
Son güncelleme: 17 Haziran 2026

Kısaca

Bu açık internet üzerinden, uzaktan, oturum açmadan, kullanıcının bir bağlantıya tıklaması ya da dosya açması gibi bir etkileşimle istismar edilebilir.

Etkisi sınırlı: gizli bilgilerin okunması, verilerin değiştirilmesi.

Etki, açığın bulunduğu bileşenin dışındaki sistemlere de yayılabilir.

Açık türü: Siteler arası betik (XSS).

✨ Yapay zekâ yorumu

Kısa bir reklam izledikten sonra bu açığın sade bir dille yorumu gösterilir. Yapay zekâ hata yapabilir; kararlarınızı resmi kaynaklara göre verin.

Resmi açıklama (İngilizce)

# Possible XSS Vulnerability in Rails::Html::SanitizerThere is a possible XSS vulnerability with certain configurations of Rails::Html::Sanitizer.This vulnerability has been assigned the CVE identifier CVE-2022-32209.Versions Affected: ALLNot affected: NONEFixed Versions: v1.4.3## ImpactA 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 to allow both `select` and `style` elements.Code is only impacted if allowed tags are being overridden. This may be done via application configuration:```ruby# In config/application.rbconfig.action_view.sanitized_allowed_tags = ["select", "style"]```see https://guides.rubyonrails.org/configuring.html#configuring-action-viewOr it may be done with a `:tags` option to the Action View helper `sanitize`:```<%= sanitize @comment.body, tags: ["select", "style"] %>```see https://api.rubyonrails.org/classes/ActionView/Helpers/SanitizeHelper.html#method-i-sanitizeOr it may be done with Rails::Html::SafeListSanitizer directly:```ruby# class-level optionRails::Html::SafeListSanitizer.allowed_tags = ["select", "style"]```or```ruby# instance-level optionRails::Html::SafeListSanitizer.new.sanitize(@article.body, tags: ["select", "style"])```All users overriding the allowed tags by any of the above mechanisms to include both "select" and "style" should either upgrade or use one of the workarounds immediately.## ReleasesThe FIXED releases are available at the normal locations.## WorkaroundsRemove either `select` or `style` from the overridden allowed tags.## CreditsThis vulnerability was responsibly reported by [windshock](https://hackerone.com/windshock?type=user).

CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Açık türü: CWE-79 – Siteler arası betik (XSS)

Etkilenen ürünler

ÜreticiÜrünSürümler
rubyonrailsrails html sanitizers<1.4.3
fedoraprojectfedora35
fedoraprojectfedora36
debiandebian linux10.0

Kaynaklar

Aynı kategoriden son açıklar

  • CVE-2026-140097 Kritik 9.1
    Vite is a frontend tooling framework for JavaScript. From 4.0.0 until 6.4.6, 7.3.8, 8.1.7, 8.2.5, and 8.3.7 in Vite, and prior to 1.5.1 in vite-plus, a network-exposed development server embeds request-derived module…
    Siteler arası betik (XSS) · 30 Kasım 2026
  • CVE-2026-138277 Düşük 2.3
    Improper neutralization of input during web page generation ('cross-site scripting') vulnerability in Apache Commons BCEL. This only happens when you're using Class2HTML to generate webpages for…
    Siteler arası betik (XSS) · 30 Kasım 2026
  • CVE-2026-140006 Orta 5.4
    minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. From 7.4.0 until 11.0.8, minimatch.escape() can produce patterns that do not exclusively match the supplied…
    Siteler arası betik (XSS) · 30 Kasım 2026
  • CVE-2026-139994 Orta 4.7
    React Router is a router for React. From 7.11.0 until 7.18.4 and 8.4.0, react Router's unstable RSC Data mode and RSC Framework mode render redirects containing an attacker-controlled redirect destination into…
    Siteler arası betik (XSS) · 30 Kasım 2026
  • CVE-2026-125083 Yüksek 7.6
    The vault-auth plugin in Kong Gateway Enterprise and Kong AI Gateway does not escape the access token in the HashiCorp Vault KV request URL, allowing a Consumer to read older secret versions and authenticate with…
    Siteler arası betik (XSS) · 30 Kasım 2026
  • CVE-2026-139988 Orta 5.1
    Foliovision FV Player 8 through 8.2.1 contains a stored cross-site scripting vulnerability in get_popup_code() that allows authenticated Contributor+ attackers to inject script via the popup and end_action_value…
    Siteler arası betik (XSS) · 30 Kasım 2026