{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-54498","published":"2026-07-17T21:17:09.043000Z","last_modified":"2026-10-24T20:10:00.137000Z","status":"Analyzed","cvss":{"version":"3.1","score":8.7,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:viewcomponent:view_component:*:*:*:*:*:ruby:*:*","part":"a","vendor":"viewcomponent","product":"view_component","version_start_including":"4.0.0","version_end_excluding":"4.12.0"}],"cpes_truncated":false,"vendors":["viewcomponent"],"products":["viewcomponent/view_component"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-97jw-64cj-jc58","ecosystem":"RubyGems","name":"view_component","purl":"pkg:gem/view_component","ranges":[{"introduced":"4.0.0","fixed":"4.12.0"}],"versions":["4.0.0","4.0.1","4.0.2","4.1.0","4.1.1","4.10.0","4.11.0","4.2.0","4.3.0","4.4.0","4.5.0","4.6.0","4.7.0","4.8.0","4.9.0"],"versions_truncated":false}],"severity":"high","priority_score":52,"links":{"html_es":"/es/cve/CVE-2026-54498/","html_en":"/en/cve/CVE-2026-54498/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-54498","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-54498"},"untrusted":{"vendor_name":"Viewcomponent","product_name":"View Component","desc_en":"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":[{"untrusted_vendor":"ViewComponent","untrusted_product":"view_component","versions":[]}],"references":[{"url":"https://github.com/ViewComponent/view_component/commit/48e5fd2d602344c7d33019fbc5c8b087e315bb78","tags":["Patch"]},{"url":"https://github.com/ViewComponent/view_component/commit/6796b2e89d0bd7b9d7d763a86275e5334731dd61","tags":["Patch"]},{"url":"https://github.com/ViewComponent/view_component/releases/tag/v4.12.0","tags":["Product","Release Notes"]},{"url":"https://github.com/ViewComponent/view_component/security/advisories/GHSA-97jw-64cj-jc58","tags":["Exploit","Mitigation","Vendor Advisory"]}]}}