view_component is vulnerable to Information Disclosure
68
CVE Score
Medium
Information Disclosure
ViewComponent component instances memoize controller, helpers, request, and related render-scoped state on first render. Reusing the same instance across different view contexts can serve stale privileged UI, user identity, host data, or slot child context from an earlier render. This can leak data across requests, sessions, users, or threads when components are cached in registries or shared collections. The fix resets render-scoped state at the start of each render_in call and rebuilds collection child instances per render.
Upgrade the view_component library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your application reuses the same component, collection, or spacer instance across renders with different view contexts.
4.0.0 - 4.11.0
Fixed in 4.12.0view_component is vulnerable to Information Disclosure in versions 4.0.0 - 4.11.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
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.