CVE Explorer
CVE-2026-54498
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 t
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"view_component","vendor":"ViewComponent","versions":[{"status":"affected","version":">= 4.0.0, < 4.12.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:740c24dee8b1e86c15b00dc2f258663cd5c7b45c156836f9e72f7526bcb34392 · sha256:761c0b2911c1504d… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:740c24dee8b1e86c15b00dc2f258663cd5c7b45c156836f9e72f7526bcb34392 · sha256:761c0b2911c1504d… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:740c24dee8b1e86c15b00dc2f258663cd5c7b45c156836f9e72f7526bcb34392 · sha256:761c0b2911c1504d… · /containers/cna/problemTypes/0/descriptions/0
Source references
5 source assertions{"name":"https://github.com/ViewComponent/view_component/commit/48e5fd2d602344c7d33019fbc5c8b087e315bb78","tags":["x_refsource_MISC"],"url":"https://github.com/ViewComponent/view_component/commit/48e5fd2d602344c7d33019fbc5c8b087e315bb78"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:740c24dee8b1e86c15b00dc2f258663cd5c7b45c156836f9e72f7526bcb34392 · sha256:761c0b2911c1504d… · /containers/cna/references/1
{"name":"https://github.com/ViewComponent/view_component/commit/6796b2e89d0bd7b9d7d763a86275e5334731dd61","tags":["x_refsource_MISC"],"url":"https://github.com/ViewComponent/view_component/commit/6796b2e89d0bd7b9d7d763a86275e5334731dd61"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:740c24dee8b1e86c15b00dc2f258663cd5c7b45c156836f9e72f7526bcb34392 · sha256:761c0b2911c1504d… · /containers/cna/references/2
{"name":"https://github.com/ViewComponent/view_component/releases/tag/v4.12.0","tags":["x_refsource_MISC"],"url":"https://github.com/ViewComponent/view_component/releases/tag/v4.12.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:740c24dee8b1e86c15b00dc2f258663cd5c7b45c156836f9e72f7526bcb34392 · sha256:761c0b2911c1504d… · /containers/cna/references/3
{"name":"https://github.com/ViewComponent/view_component/security/advisories/GHSA-97jw-64cj-jc58","tags":["x_refsource_CONFIRM"],"url":"https://github.com/ViewComponent/view_component/security/advisories/GHSA-97jw-64cj-jc58"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:740c24dee8b1e86c15b00dc2f258663cd5c7b45c156836f9e72f7526bcb34392 · sha256:761c0b2911c1504d… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/ViewComponent/view_component/security/advisories/GHSA-97jw-64cj-jc58"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:740c24dee8b1e86c15b00dc2f258663cd5c7b45c156836f9e72f7526bcb34392 · sha256:761c0b2911c1504d… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.