CVE-2026-54498
Last modified
CVE-2026-54498 is a high-severity vulnerability rated 8.7/10 on the CVSS scale. 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. EPSS estimates a 0.26% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Viewcomponent | View Component | >= 4.0.0, < 4.12.0 |
References
- https://github.com/ViewComponent/view_component/releases/tag/v4.12.0Product, Release Notes
- https://github.com/ViewComponent/view_component/security/advisories/GHSA-97jw-64cj-jc58Exploit, Mitigation, Vendor Advisory
- https://github.com/ViewComponent/view_component/security/advisories/GHSA-97jw-64cj-jc58Exploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-54498?
How severe is CVE-2026-54498?
How do I fix CVE-2026-54498?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-5448X.509 date buffer overflow in wolfSSL_X509_notAfter / wolfSS…4.3
- CVE-2026-54483Dell PowerProtect Data Domain, versions 7.7.1.0 through 8.6,…6.7
- CVE-2026-54489Dell Virtual Storage Integrator for VMware vSphere Client, v…9.8
- CVE-2026-54490websocket-driver is a WebSocket protocol handler with plugga…6.3
- CVE-2026-54496ZEBRA is a Zcash node written entirely in Rust. Prior to zeb…9.3
- CVE-2026-54497view_component is a framework for building reusable, testabl…6.8
- CVE-2026-54499Stanza is a Stanford NLP Python library for tokenization, se…7.5
- CVE-2026-5450Calling the scanf family of functions with a %mc (malloc'd c…9.8
- CVE-2026-54500Oj (Optimized JSON) is a JSON parser and Object marshaller p…5.3
- CVE-2026-54502Oj (Optimized JSON) is a JSON parser and Object marshaller p…6.3
- CVE-2026-5451The Extensions for Leaflet Map plugin for WordPress is vulne…6.4
- CVE-2026-54512jackson-databind contains the general-purpose data-binding f…8.1
Are you affected by CVE-2026-54498?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
