# view\_component (RubyGems) vulnerabilities

6 known vulnerabilities (2 high, 4 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://rubygems.org/gems/view_component

## Advisories (6)

### [CVE-2026-54498](https://cve.now/CVE-2026-54498): view\_component: around\_render HTML-Safety Bypass

- Severity: High 8.7
- Published: Jul 17, 2026
- Affected: from 4.0.0, fixed in 4.12.0.

### [CVE-2026-54497](https://cve.now/CVE-2026-54497): view\_component: Reused Component Instances Retain Stale Render Context

- Severity: Medium 6.8
- Published: Jul 17, 2026
- Affected: from 4.0.0, fixed in 4.12.0.

### [CVE-2026-44836](https://cve.now/CVE-2026-44836): view\_component: Preview Route Can Dispatch Inherited Helper Methods

- Severity: Medium 6.5
- Published: May 26, 2026
- Affected: from 3.0.0, fixed in 4.9.0.

### [CVE-2026-44837](https://cve.now/CVE-2026-44837): view\_component: System Test Entry Point Path Check Allows Sibling Directory Escape

- Severity: Medium 5.9
- Published: May 26, 2026
- Affected: from 3.0.0, fixed in 4.9.0.

### [CVE-2024-21636](https://cve.now/CVE-2024-21636): view\_component Cross-site Scripting vulnerability

- Severity: Medium 6.1
- Published: Jan 4, 2024
- Affected: from 3.0.0, fixed in 3.9.0; fixed in 2.83.0.

### [CVE-2022-24722](https://cve.now/CVE-2022-24722): Cross-site Scripting in view\_component

- Severity: High 8.1
- Published: Mar 2, 2022
- Affected: from 2.31.0, fixed in 2.31.2; from 2.32.0, fixed in 2.49.1.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/rubygems/view_component
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
