view_component is vulnerable to Information Disclosure
68
Medium Risk
ViewComponent populates caller-provided slot state and with_content values on a component instance before render_in runs. The reset that guards reused instances clears controller, helpers, and request context but misses @__vc_set_slots and @__vc_content_set_by_with_content. When the same instance is reused across renders or requests through caching, pooling, or aliasing, one render's slot content and with_content value leak into a later render, exposing user-specific data across contexts. The fix reinstates a guard that raises when an instance is rendered more than once and rebuilds collection child and spacer components per render.
You are affected if you run a version in the vulnerable range and reuse the same component instance across multiple renders or requests, for example through caching, instance pooling, or memoization that outlives a single render.
view_component is vulnerable to Information Disclosure in versions 4.0.0 - 4.13.0.
Upgrade the view_component library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.