Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2022-32209

EPSS 4.57% · P89
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2022-32209

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Description
# 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).
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: NVD (National Vulnerability Database)
Vulnerability Title
Rails 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Rails是Rails团队的一套基于Ruby语言的开源Web应用框架。 Rails 存在安全漏洞,攻击者利用该漏洞可以绕过 Rails::Html::SafeListSanitizer 过滤并执行 XSS 攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
-https://github.com/rails/rails-html-sanitizer v1.4.3 -

II. Public POCs for CVE-2022-32209

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-32209

登录查看更多情报信息。

Same Patch Batch · n/a · 2022-06-24 · 69 CVEs total

CVE-2022-212317.5 HIGHPrototype Pollution
CVE-2022-32996RootInteractive 安全漏洞
CVE-2022-34065rondolu-yt-concate 安全漏洞
CVE-2022-34066Texercise 安全漏洞
CVE-2022-34064Zibal 安全漏洞
CVE-2022-33002KGExplore 安全漏洞
CVE-2022-33001AAmiles 安全漏洞
CVE-2022-33000AAmiles 安全漏洞
CVE-2022-32999PyPI cloudlabeling 安全漏洞
CVE-2022-32998cryptoasset-data-downloader 安全漏洞
CVE-2022-32997RootInteractive 安全漏洞
CVE-2022-33003watools 安全漏洞
CVE-2022-33910MantisBT 跨站脚本漏洞
CVE-2022-29578Meridian Cooperative Meridian 授权问题漏洞
CVE-2022-30028Dradis 竞争条件问题漏洞
CVE-2021-39409Online Student Rate System 安全漏洞
CVE-2021-39408Online Student Rate System 跨站脚本漏洞
CVE-2021-42056Thales Safenet Authentication Client 后置链接漏洞
CVE-2021-40893validate-data 安全漏洞
CVE-2022-29330VitalPBX 安全特征问题漏洞

Showing top 20 of 69 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2022-32209

No comments yet


Leave a comment