CVE-2024-21636

CVSS 3.1 Score 6.1 of 10 (medium)

Details

Published Jan 4, 2024
Updated: Jan 10, 2024
CWE ID 79

Summary

CVE-2024-21636 is a cross-site scripting (XSS) vulnerability affecting versions prior to 3.9.0 and 2.83.0 of the view_component framework in Ruby on Rails. This issue arises due to insufficient sanitization in the `#call` and `#output_postamble` methods, which can allow user-defined content to be injected into web pages. The vulnerability can impact users rendering a component directly from a controller using the view_component gem. To mitigate the issue, developers should upgrade to versions 3.9.0 and 2.83.0, or sanitize the return value of the `#call` method as a temporary workaround.

Ligh bulbPrevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share

Prioritize, Pinpoint, and Act to Prevent Vulnerability Exploits with Recorded Future

Note: This is just a basic overview providing quick insights into CVE-2024-21636 information. Gain full access to comprehensive CVE data, third party vulnerabilities, compromised credentials and more with Recorded Future
  • Gain complete coverage of your cyber, third party, and physical attack surface
  • Proactively mitigate threats before they turn into costly attacks
  • Make fast, effective, data-driven decisions