REDHAT-BUG-2101882: XSS

Published Jun 28, 2022
·
Updated

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.

Reference:

https://hackerone.com/reports/1530898

Affected Software

1 affected component
Ruby on Rails Rails::Html::Sanitizer

Event History

Jun 28, 2022
Data Sourced
via Red Hat·03:55 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2101882?

The severity of REDHAT-BUG-2101882 is considered high due to the potential for XSS attacks if certain configurations are misconfigured.

2

How can I fix REDHAT-BUG-2101882?

To resolve REDHAT-BUG-2101882, ensure that your application's allowed tags in Rails::Html::Sanitizer do not include both 'select' and 'style' elements.

3

Who is affected by REDHAT-BUG-2101882?

Developers using Ruby on Rails with customized configurations of Rails::Html::Sanitizer that allow specific HTML tags are affected by REDHAT-BUG-2101882.

4

What are the risks associated with REDHAT-BUG-2101882?

The risks associated with REDHAT-BUG-2101882 include potential cross-site scripting (XSS) attacks that could allow attackers to inject malicious content.

5

Is there a workaround for REDHAT-BUG-2101882?

A workaround for REDHAT-BUG-2101882 is to use the default configuration of Rails::Html::Sanitizer without overriding the allowed tags.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203