We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-53986

Possible XSS vulnerability with certain configurations of rails-html-sanitizer 1.6.0



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 "math" and "style" elements are both explicitly allowed. This vulnerability is fixed in 1.6.1.

Reserved 2024-11-25 | Published 2024-12-02 | Updated 2024-12-03 | Assigner GitHub_M


LOW: 2.3CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Problem types

CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Product status

>= 1.6.0, < 1.6.1
affected

References

github.com/...itizer/security/advisories/GHSA-638j-pmjw-jq48

github.com/...ommit/f02ffbb8465e73920b6de0da940f5530f855965e

cve.org (CVE-2024-53986)

nvd.nist.gov (CVE-2024-53986)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-53986

Support options

Helpdesk Chat, Email, Knowledgebase
Subscribe to our newsletter to learn more about our work.