Loading...
Skip to main content
RubyGems (Ruby)

view_component Known Vulnerabilities & Fixes

view_component has 6 known security vulnerabilities in RubyGems (Ruby). Upgrade to version 4.12.0 or later to resolve all known issues. Data sourced from OSV, enriched with EPSS exploit probability and CISA KEV.

6 Vulnerabilities

Low Immediate Risk

No actively exploited vulnerabilities detected. Monitor and update in your next maintenance window.

Recommended safe version: 4.12.0

Upgrading to 4.12.0 or later resolves all 6 known vulnerabilities in view_component. Run: gem install view_component -v 4.12.0

Is view_component in your project?

Check if you're affected and upgrade to 4.12.0 to stay secure.

6
Total
0
Critical
2
High
4
Medium
0
Low

Security Summary

  • 8 affected version ranges have been identified across these 6 advisories.
  • 100% of known issues have a published fixed version.
  • Remediation: gem update view_component

Vulnerabilities

6 unique vulnerabilities — sorted by exploitation risk (KEV → EPSS → CVSS). Click a CVE/GHSA ID for full details. First disclosed Mar 2, 2022, most recently Jul 15, 2026 (1596 days apart).

CVE / GHSASeverityAffectedFixed In
CVE-2026-54498
ViewComponent: around_render HTML-Safety Bypass
HIGH
4.0.0, 4.0.1, 4.0.2, 4.1.0 (+11 more)4.12.0
CVE-2022-24722
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in view_component
HIGH
2.31.0, 2.31.1, 2.32.0, 2.33.0 (+17 more)2.31.2, 2.49.1
CVE-2026-54497
ViewComponent: Reused Component Instances Retain Stale Render Context
MEDIUM
4.0.0, 4.0.1, 4.0.2, 4.1.0 (+11 more)4.12.0
CVE-2026-44836
view_component: Preview Route Can Dispatch Inherited Helper Methods
MEDIUM
3.0.0, 3.1.0, 3.10.0, 3.11.0 (+52 more)4.9.0
CVE-2026-44837
view_component: System Test Entry Point Path Check Allows Sibling Directory Escape
MEDIUM
3.0.0, 3.1.0, 3.10.0, 3.11.0 (+52 more)4.9.0
CVE-2024-21636
view_component Cross-site Scripting vulnerability
MEDIUM
3.0.0, 3.1.0, 3.2.0, 3.3.0 (+114 more)3.9.0, 2.83.0

About This Data

Vulnerability data for view_component is sourced from the Open Source Vulnerability (OSV) database, aggregating reports from GitHub Advisory Database, NIST NVD, and ecosystem-specific sources.

CVSS (Common Vulnerability Scoring System) scores reflect exploitability and impact. EPSS (Exploit Prediction Scoring System) scores indicate the probability of exploitation within the next 30 days. Vulnerabilities marked with are listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

Related RubyGems (Ruby) Packages

Other packages in this ecosystem, ranked by shared vulnerabilities where available.

Check Your Dependencies

Scan your project to check if you're using a vulnerable version of view_component.

Data from OSV DatabaseUpdated daily200K+ vulnerabilities indexed