CISA list

● RubyGems gem

view_component

View_component has six security advisories. The newest release any of them names as the fix is 4.12.0.

As of , view_component has six security advisories. The newest release any of them names as the fix is 4.12.0.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
From 3.0.0 before 4.12.04.12.05 advisories
Before 2.83.02.83.02 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-54497GHSA-9h85-g7w3-rh49ViewComponent: Reused Component Instances Retain Stale Render ContextModerate severityFrom 4.0.0 before 4.12.04.12.0
CVE-2026-54498GHSA-97jw-64cj-jc58ViewComponent: around_render HTML-Safety BypassHigh severityFrom 4.0.0 before 4.12.04.12.0
CVE-2026-44837GHSA-hg3h-g7xc-f7vpview_component: System Test Entry Point Path Check Allows Sibling Directory EscapeModerate severityFrom 3.0.0 before 4.9.04.9.0
CVE-2026-44836GHSA-7f3r-gwc9-2995view_component: Preview Route Can Dispatch Inherited Helper MethodsModerate severityFrom 3.0.0 before 4.9.04.9.0
CVE-2024-21636GHSA-wf2x-8w6j-qw37view_component Cross-site Scripting vulnerabilityModerate severityFrom 3.0.0 before 3.9.0; Before 2.83.02.83.0, 3.9.0
CVE-2022-24722GHSA-cm9w-c4rj-r2cfImproper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in view_componentHigh severityFrom 2.32.0 before 2.49.1; From 2.31.0 before 2.31.22.31.2, 2.49.1

Other RubyGems gems

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0