目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-126070— Action View strip_tags 跨站脚本漏洞

一分钟漏洞结论

影响对象
rails rails
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Action View 是一个用于处理视图模板查找与渲染的框架,并提供用于构建 HTML 的视图辅助方法。在版本 8.1.4.1 和 8.0.5.2 之前,Action View 中的 方法会将其清理后的输出标记为 ,但其底层净化器仅对 、 和 进行编码,未对双引号(")和单引号(')进行编码。由于 ERB 不会对标记为 的字符串进行转义,若将不可信输入通过 处理后渲染到带引号的 HTML 属性值中,可能导致属性被提前闭合并注入新属性,从而引发跨站脚本(XSS)攻击。在 HTML 属性中渲染来自不可信输入的 输出(

CVSS 6.1 · Medium
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-126070 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Action View: Possible XSS vulnerability in Action View strip_tags
来源: CVE Program / CVE List V5
Vulnerability Description
Action View is a framework for handling view template lookup and rendering and provides view helpers for building HTML. Prior to 8.1.4.1 and 8.0.5.2, strip_tags in Action View returns its sanitized output marked html_safe, but the underlying sanitizer encodes only &, < and >, leaving " and ' unencoded. Because ERB does not escape a string marked html_safe, untrusted input passed through strip_tags and rendered inside a quoted HTML attribute value could close the attribute and add new attributes, possibly leading to XSS. Applications that render strip_tags output from untrusted input inside an HTML attribute, for example in a title attribute or a <meta content> tag, are affected. Output rendered as element content is not affected. This issue is fixed in versions 8.1.4.1 and 8.0.5.2.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
rails rails < 8.0.5.2 -

二、漏洞 CVE-2026-126070 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-126070 的情报信息

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

CVE-2026-126070 厂商页面 (1)

CVE-2026-126070 其他参考 (3)

同批安全公告 · rails · 2026-11-10 · 共 20 条

CVE-2026-126082 9.8 CRITICAL Active Storage: Possible arbitrary file write and read in Active Storage image analysis
CVE-2026-126186 8.8 HIGH Active Storage: Possible arbitrary file read and remote code execution in Active Storage v
CVE-2026-126081 7.5 HIGH Action Pack: Possible Strong Parameters bypass in Parameters#each_key
CVE-2026-126080 7.5 HIGH Active Support: Possible DoS vulnerability in Active Support safe_constantize
CVE-2026-126077 6.8 MEDIUM Action Pack Active Storage 代理模式敏感会话信息泄露
CVE-2026-126079 6.1 MEDIUM Action View: Possible XSS vulnerability in Action View text helpers
CVE-2026-126078 6.1 MEDIUM Action View 高亮辅助跨站脚本漏洞
CVE-2026-126072 5.9 MEDIUM Action Pack 直播流拒绝服务漏洞
CVE-2026-126071 5.3 MEDIUM Active Storage 代理模式流式传输拒绝服务漏洞
CVE-2026-126085 5.3 MEDIUM Active Storage: Possible circumvention of file size limits in Active Storage direct upload
CVE-2026-126073 4.8 MEDIUM Action Pack 内容协商缓存投毒漏洞
CVE-2026-126075 4.7 MEDIUM Active Support MessagePack 反序列化跨站脚本漏洞
CVE-2026-126084 4.7 MEDIUM Active Storage: Unsigned Content-Type in Active Storage GCS direct uploads with cache_cont
CVE-2026-126069 4.7 MEDIUM Action View 标签辅助功能跨站脚本漏洞
CVE-2026-126074 4.3 MEDIUM Active Storage 文件名处理拒绝服务漏洞
CVE-2026-126076 4.2 MEDIUM Action Pack 会话恢复漏洞
CVE-2026-126068 3.7 LOW Action Mailbox Mailgun 入口签名重放漏洞
CVE-2026-126067 3.1 LOW Action Pack 会话 Cookie 缺失 SameSite 属性漏洞
CVE-2026-126083 Action Pack: Possible IP spoofing in Action Dispatch RemoteIp

IV. Related Vulnerabilities