cvedb.io
CVE-2024-53986
MEDIUM · CVSS 6.1
EPSS exploitation probability: 0%
Published 2024-12-02T22:15:11.343 · Last modified 2026-06-17T08:09:37.190

Summary

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.

Affected products

rubyonrails — rails_html_sanitizers

Does this affect you?

Add your gear to cvedb and we'll alert you only when rubyonrails ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.