CVE-2026-54498: view_component is a framework for building reusable, testable, and encapsulated view components in Ruby on Rai
CVE-2026-54498 is a high-severity flaw (CVSS 8.7) affecting view component. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
view_component is a framework for building reusable, testable, and encapsulated view components in Ruby on Rails. From 4.0.0 until 4.12.0, ViewComponent::Base#around_render can return HTML-unsafe strings that bypass the escaping behavior applied to normal #call return values. This creates an XSS risk when downstream applications use around_render to wrap, replace, instrument, or conditionally return content that includes user-controlled data, and
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.7 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | Required |
| EPSS exploit chance | 0.5% (top 62%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2026-07-17 |
| Last modified | 2026-10-24 |
Last updated 2026-10-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-54498?
view component: upgrade to 4.12.0. Exact commands for each OS are on this page.
Is CVE-2026-54498 being exploited?
CVE-2026-54498 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-54498 affect?
CVE-2026-54498 affects view component. Severity is high (CVSS 8.7). view_component is a framework for building reusable, testable, and encapsulated view components in Ruby on Rails. From 4.0.0 until 4.12.0, ViewComponent::Base#around_render can return HTML-unsafe strings that bypass the escaping behavior ap
How urgent is CVE-2026-54498?
Priority 45/100. High severity; Public exploit reference
Software pages
Ruby on Rails vulnerabilities · Ruby vulnerabilities
Related CVEs
- CVE-2026-54497 MEDIUM 6.8 UPGRADE view_component is a framework for building reusable, testable, and encapsulated view components in Ruby on Rai