Bug 2330056 (CVE-2024-53986) - CVE-2024-53986 rails-html-sanitizer: Possible XSS vulnerability with certain configurations of rails-html-sanitizer 1.6.0
Summary: CVE-2024-53986 rails-html-sanitizer: Possible XSS vulnerability with certain ...
Keywords:
Status: NEW
Alias: CVE-2024-53986
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2330085 2330084
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-12-02 22:01 UTC by OSIDB Bzimport
Modified: 2025-01-03 08:27 UTC (History)
19 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-12-02 22:01:17 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.