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.
CVE-2026-54498
This high-severity CVE scores 8.7 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.5%, top 63% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.7
- EG Score
- 8.7(medium)
- EG Risk
- 55(Track*)EG Risk 55/100SSVC: Track*
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity87% × 45%Exploitation40% × 40%Automatability0% × 15%Action: Watch closely — could escalate to Attend. - EPSS
- 36.8%
- KEV
- Not listed
Published
July 15, 2026
Last Modified
July 20, 2026
Advisory Details (4)
Auto-updated Jul 17, 2026around_render HTML-Safety Bypass · Advisory · ViewComponent/view_component · GitHub
https://github.com/ViewComponent/view_component/security/advisories/GHSA-97jw-64cj-jc584.12.0
Patch available: ViewComponent/view_component v4.12.0
https://github.com/ViewComponent/view_component/releases/tag/v4.12.0commit 6796b2e89d0b (ViewComponent/view_component)
Patch available: ViewComponent/view_component v4.12.0 (contains commit 6796b2e89d0b)
https://github.com/ViewComponent/view_component/commit/6796b2e89d0bd7b9d7d763a86275e5334731dd61commit 48e5fd2d6023 (ViewComponent/view_component)
Patch available: ViewComponent/view_component v4.12.0 (contains commit 48e5fd2d6023)
https://github.com/ViewComponent/view_component/commit/48e5fd2d602344c7d33019fbc5c8b087e315bb78Vendor Advisories for CVE-2026-54498(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
RubyGems(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| view_component | 4.0.0 ... 4.9.0 (15 versions) | 4.12.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 8× in last 7d / 9× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-23 03:19 UTCEG score recompute
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 02:36 UTCEG score recompute
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-15 22:54 UTCEG score recompute
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-54498?
When was CVE-2026-54498 disclosed?
Is CVE-2026-54498 actively exploited?
What is the CVSS score of CVE-2026-54498?
How do I remediate CVE-2026-54498?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-54498
Is Your Infrastructure Affected by CVE-2026-54498?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.