<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>rails_html_sanitizers Archives - CVE Vulnerability</title>
	<atom:link href="https://cvevulnerability.com/cve_products/rails_html_sanitizers/feed/" rel="self" type="application/rss+xml" />
	<link>https://cvevulnerability.com/cve_products/rails_html_sanitizers/</link>
	<description></description>
	<lastBuildDate>Thu, 23 Feb 2023 05:19:01 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>

<image>
	<url>https://cvevulnerability.com/wp-content/uploads/2023/02/cropped-Screenshot-2023-02-27-at-3.52.32-PM-32x32.png</url>
	<title>rails_html_sanitizers Archives - CVE Vulnerability</title>
	<link>https://cvevulnerability.com/cve_products/rails_html_sanitizers/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>CVE-2022-32209</title>
		<link>https://cvevulnerability.com/cve_vulnerabilities/cve-2022-32209/</link>
		
		<dc:creator><![CDATA[godfreyd94]]></dc:creator>
		<pubDate>Thu, 23 Feb 2023 05:19:01 +0000</pubDate>
				<guid isPermaLink="false">http://www.cvevulnerability.com/cve_vulnerabilities/cve-2022-32209/</guid>

					<description><![CDATA[<p># 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&#8217;s allowed [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://cvevulnerability.com/cve_vulnerabilities/cve-2022-32209/">CVE-2022-32209</a> appeared first on <a rel="nofollow" href="https://cvevulnerability.com">CVE Vulnerability</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p># 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&#8217;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:&#8220;`ruby# In config/application.rbconfig.action_view.sanitized_allowed_tags = [&#8220;select&#8221;, &#8220;style&#8221;]&#8220;`see https://guides.rubyonrails.org/configuring.html#configuring-action-viewOr it may be done with a `:tags` option to the Action View helper `sanitize`:&#8220;`<%= sanitize @comment.body, tags: ["select", "style"] %>&#8220;`see https://api.rubyonrails.org/classes/ActionView/Helpers/SanitizeHelper.html#method-i-sanitizeOr it may be done with Rails::Html::SafeListSanitizer directly:&#8220;`ruby# class-level optionRails::Html::SafeListSanitizer.allowed_tags = [&#8220;select&#8221;, &#8220;style&#8221;]&#8220;`or&#8220;`ruby# instance-level optionRails::Html::SafeListSanitizer.new.sanitize(@article.body, tags: [&#8220;select&#8221;, &#8220;style&#8221;])&#8220;`All users overriding the allowed tags by any of the above mechanisms to include both &#8220;select&#8221; and &#8220;style&#8221; 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).</p>
<p>The post <a rel="nofollow" href="https://cvevulnerability.com/cve_vulnerabilities/cve-2022-32209/">CVE-2022-32209</a> appeared first on <a rel="nofollow" href="https://cvevulnerability.com">CVE Vulnerability</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
