Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.
ViewComponent view_component — view_component: around_render HTML-Safety Bypass
AV AC PR UI S C I A CVSS EPSS %ile KEV
N L L R C H H N 8.7 .0031 24.0 —
AFFECTED
Product Versions Fixed
view_component >= 4.0.0, < 4.12.0 – —
TIMELINE
Jun 15 Reserved by GitHub_M
Jul 17 EXPLOIT PUBLISHED — CVE-2026-54498 (ViewComponent view_component). Public exploit reference added.
Jul 17 Published (CNA: GitHub_M)
Jul 29 EXPLOIT PUBLISHED — CVE-2026-54498 (ViewComponent view_component). Public exploit reference added.
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.
Lifecycle
Complete event history — 4 events, chronological
| Date | Event | Detail |
| June 15, 2026 | Reserved | Reserved by GitHub_M |
| July 17, 2026 | EXPLOIT PUBLISHED | EXPLOIT PUBLISHED — CVE-2026-54498 (ViewComponent view_component). Public exploit reference added. |
| July 17, 2026 | Published | Published (CNA: GitHub_M) |
| July 29, 2026 | EXPLOIT PUBLISHED | EXPLOIT PUBLISHED — CVE-2026-54498 (ViewComponent view_component). Public exploit reference added. |
Affected
Affected products and packages — 1 row
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| ViewComponent | view_component | — | >= 4.0.0, < 4.12.0 | — |
About this page
This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2026-54498 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.