CVE-2026-54498: view_component: around_render HTML-Safety Bypass
ViewComponent · view_component
Affected: ViewComponent view_component · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 39% of scored CVEs
DescriptionCVE.org
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 ViewComponent::Collection#render_in can amplify the issue by joining per-item results and marking the entire output html_safe, converting raw unsafe output into an ActiveSupport::SafeBuffer. This issue is fixed in version 4.12.0.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- ViewComponent · view_component>= 4.0.0, < 4.12.0
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Weakness
- Cross-site Scripting
- Vendor
- ViewComponent
- Published
- July 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2026-54498 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-79cwe.mitre.org
- github.com/ViewComponent/view_component/security/advisories/GHSAgithub.com
- github.com/ViewComponent/view_component/commit/48e5fd2d602344c7dgithub.com
- github.com/ViewComponent/view_component/commit/6796b2e89d0bd7b9dgithub.com
- github.com/ViewComponent/view_component/releases/tag/v4.12.0github.com