CVE-2024-53987
Expert Analysis
Professional remediation guidance
Get tailored security recommendations from our analyst team for CVE-2024-53987. We'll provide specific mitigation strategies based on your environment and risk profile.
Description
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 "style" element is explicitly allowed and the "svg" or "math" element is not allowed. This vulnerability is fixed in 1.6.1.
Available Exploits
Related News
Affected Products
Affected Versions:
GitHub Security Advisories
Community-driven vulnerability intelligence from GitHub
rails-html-sanitizer has XSS vulnerability with certain configurations
GHSA-2x5m-9ch4-qgrrAdvisory Details
Affected Packages
CVSS Scoring
CVSS Score
CVSS Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
References
Advisory provided by GitHub Security Advisory Database. Published: December 2, 2024, Modified: December 3, 2024