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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-33167— Rails has a possible XSS vulnerability in its Action Pack debug exceptions

Quick assessment

Affected
rails actionpack
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Rails Action Pack是美国Rails团队的一个web框架。提供了路由机制(将请求URL映射到动作),定义实现动作的控制器以及通过渲染视图(各种格式的模板)生成响应的机制。 Rails Action Pack 8.1.2.1之前版本存在跨站脚本漏洞,该漏洞源于调试异常页面未正确转义异常消息,可能导致精心构造的异常消息注入任意HTML和JavaScript,造成跨站脚本攻击。

AI Predicted 6.1 Difficulty: Moderate EPSS 0.33% · P23
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-33167

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
Rails has a possible XSS vulnerability in its Action Pack debug exceptions
Source: CVE Program / CVE List V5
Vulnerability Description
Action Pack is a Rubygem for building web applications on the Rails framework. In versions on the 8.1 branch prior to 8.1.2.1, the debug exceptions page does not properly escape exception messages. A carefully crafted exception message could inject arbitrary HTML and JavaScript into the page, leading to XSS. This affects applications with detailed exception pages enabled (`config.consider_all_requests_local = true`), which is the default in development. Version 8.1.2.1 contains a patch.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
Rails Action Pack 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Rails Action Pack是美国Rails团队的一个web框架。提供了路由机制(将请求URL映射到动作),定义实现动作的控制器以及通过渲染视图(各种格式的模板)生成响应的机制。 Rails Action Pack 8.1.2.1之前版本存在跨站脚本漏洞,该漏洞源于调试异常页面未正确转义异常消息,可能导致精心构造的异常消息注入任意HTML和JavaScript,造成跨站脚本攻击。
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
rails actionpack >= 8.1.0, < 8.1.2.1 -

II. Public POCs for CVE-2026-33167

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-33167

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

Patches & Fixes for CVE-2026-33167 (1)

Vendor Advisories for CVE-2026-33167 (1)

Vendor Pages for CVE-2026-33167 (1)

Same Patch Batch · rails · 2026-03-23 · 9 CVEs total

CVE-2026-33195 8.0 HIGH Rails Active Storage has possible Path Traversal in DiskService
CVE-2026-33168 Rails has a possible XSS vulnerability in its Action View tag helpers
CVE-2026-33170 Rails Active Support has a possible XSS vulnerability in SafeBuffer#%
CVE-2026-33176 Rails Active Support has a possible DoS vulnerability in its number helpers
CVE-2026-33173 Rails Active Storage has possible content type bypass via metadata in direct uploads
CVE-2026-33174 Rails Active Storage has a possible DoS vulnerability when in proxy mode via Range request
CVE-2026-33169 Rails Active Support has a possible ReDoS vulnerability in number_to_delimited
CVE-2026-33202 Rails Active Storage has possible glob injection in its DiskService

IV. Related Vulnerabilities

V. Comments for CVE-2026-33167

No comments yet


Leave a comment