CVE-2024-53985:CVE-2024-53985 is a possible XSS vulnerability in rails-html-sanitizer 1.6.0 affecting versions >= 1.6.0 and < 1.6.1.

splash
Back

Description Preview

rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. The vulnerability exists in certain configurations of Rails::HTML::Sanitizer 1.6.0 when used with Rails versions >= 7.1.0 and Nokogiri versions < 1.15.7, or 1.16.x < 1.16.8. An attacker could exploit this vulnerability to inject content if HTML5 sanitization is enabled and the application developer has overridden the sanitizer's allowed tags with specific combinations of elements. The issue has been addressed in version 1.6.1.

Overview

This vulnerability, identified as CVE-2024-53985, is a low-severity XSS vulnerability in rails-html-sanitizer 1.6.0. It has a CVSS base score of 2.3, indicating low impact.

Remediation

To remediate this vulnerability, users are advised to update rails-html-sanitizer to version 1.6.1 or later. This fix addresses the XSS vulnerability present in certain configurations of the library.

References

  1. Advisory: GitHub Security Advisory
  2. Commit Fix: rails-html-sanitizer Commit b0220b8850d52199a15f83c472d175a4122dd7b1
  3. Additional Fix: rails-html-sanitizer Commit cd18b0ef00aad1d4a9e1c5d860cd23f80f63c505

Industry ExposureMost to least
This section illustrates the prevalence of a specific Common Vulnerabilities and Exposures (CVE) across various industries based on customer reports. The ranking displays industries from the most to least affected by this particular vulnerability, offering valuable insight into where this CVE has been most frequently observed. This information can help organizations within these sectors prioritize their security efforts, understand their relative risk exposure compared to their peers, and focus remediation strategies where they are most needed. By understanding the industry-specific impact, organizations can make more informed decisions regarding patching, resource allocation, and overall risk management related to this CVE.

  1. Arts, Entertainment & Recreation
    Arts, Entertainment & Recreation
  2. Finance and Insurance
    Finance and Insurance
  3. Professional, Scientific, & Technical Services
    Professional, Scientific, & Technical Services
  4. Public Administration
    Public Administration
  5. Management of Companies & Enterprises
    Management of Companies & Enterprises
  6. Manufacturing
    Manufacturing
  7. Retail Trade
    Retail Trade
  8. Transportation & Warehousing
    Transportation & Warehousing
  9. Accommodation & Food Services
    Accommodation & Food Services
  10. Administrative, Support, Waste Management & Remediation Services
    Administrative, Support, Waste Management & Remediation Services
  11. Agriculture, Forestry Fishing & Hunting
    Agriculture, Forestry Fishing & Hunting
  12. Construction
    Construction
  13. Educational Services
    Educational Services
  14. Health Care & Social Assistance
    Health Care & Social Assistance
  15. Information
    Information
  16. Mining
    Mining
  17. Other Services (except Public Administration)
    Other Services (except Public Administration)
  18. Real Estate Rental & Leasing
    Real Estate Rental & Leasing
  19. Utilities
    Utilities
  20. Wholesale Trade
    Wholesale Trade

Focus on What Matters

  1. See Everything.
  2. Identify True Risk.
  3. Proactively Mitigate Threats.

Let's talk!

background
Armis Vulnerability Intelligence Database