Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-54498— view_component: around_render HTML-Safety Bypass

Quick assessment

Affected
ViewComponent view_component
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

viewcomponent view_component是viewcomponent个人开发者的消息队列中间件。 ViewComponent 4.0.0版本至4.12.0之前版本存在跨站脚本漏洞,该漏洞源于ViewComponent::Base#around_render可返回绕过正常#call返回值转义行为的HTML不安全字符串,可能导致下游应用程序在用户交互下使用around_render或ViewComponent::Collection#render_in时产生跨站脚本风险。

CVSS 8.7 · High EPSS 0.45% · P38

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 1

VendorProduct Version RangeStatus
ViewComponent view_component >= 4.0.0, < 4.12.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-54498

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
view_component: around_render HTML-Safety Bypass
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
ViewComponent 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
viewcomponent view_component是viewcomponent个人开发者的消息队列中间件。 ViewComponent 4.0.0版本至4.12.0之前版本存在跨站脚本漏洞,该漏洞源于ViewComponent::Base#around_render可返回绕过正常#call返回值转义行为的HTML不安全字符串,可能导致下游应用程序在用户交互下使用around_render或ViewComponent::Collection#render_in时产生跨站脚本风险。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
ViewComponent view_component >= 4.0.0, < 4.12.0 -

II. Public POCs for CVE-2026-54498

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 7898 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-54498

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-54498 (2)

Vendor Advisories for CVE-2026-54498 (1)

Vendor Pages for CVE-2026-54498 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-54498

No comments yet


Leave a comment