CVE-2024-53988
Last modified
CVE-2024-53988 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.43% chance of exploitation in the next 30 days.
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", "mtext", "table", and "style" elements are allowed and either either "mglyph" or "malignmark" are allowed. This vulnerability is fixed in 1.6.1.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Rubyonrails | Rails Html Sanitizers | 1.6.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-53988?
How severe is CVE-2024-53988?
How do I fix CVE-2024-53988?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-53982ZOO-Project is a C-based WPS (Web Processing Service) implem…8.7
- CVE-2024-53983The Backstage Scaffolder plugin Houses types and utilities f…5.4
- CVE-2024-53984Nanopb is a small code-size Protocol Buffers implementation.…4.3
- CVE-2024-53985rails-html-sanitizer is responsible for sanitizing HTML frag…6.1
- CVE-2024-53986rails-html-sanitizer is responsible for sanitizing HTML frag…6.1
- CVE-2024-53987rails-html-sanitizer is responsible for sanitizing HTML frag…6.1
- CVE-2024-53989rails-html-sanitizer is responsible for sanitizing HTML frag…6.1
- CVE-2024-5399Openfind Mail2000 does not properly filter parameters of spe…7.2
- CVE-2024-53990The AsyncHttpClient (AHC) library allows Java applications t…9.2
- CVE-2024-53991Discourse is an open source platform for community discussio…5.9
- CVE-2024-53992unzip-bot is a Telegram bot to extract various types of arch…8.8
- CVE-2024-53994Discourse is an open source platform for community discussio…4.3
Are you affected by CVE-2024-53988?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
