← 漏洞与更新

中危漏洞公告RubyRuby on Rails

Active Support: Possible XSS vulnerability in Active Support MessagePack serializer

受影响

软件包受影响版本修复版本
rubygems:activesupport>= 8.1.0.beta1, < 8.1.4.18.1.4.1

ActiveSupport::MessagePack serializes an ActiveSupport::SafeBuffer as its bytes alone and deserializes it as a new SafeBuffer, so a buffer that is no longer html_safe? (for example, one mutated in place with gsub!) is restored as html_safe. If such a buffer holds untrusted input and is stored through a MessagePack serializer, rendering it after it is loaded bypasses ERB auto-escaping, possibly leading to XSS. Applications on Rails 8.1 are affected if they use a MessagePack serializer, such as c…

在 GitHub Advisory Database 阅读

2026/11/11 06:27,GitHub Advisory Database 发布了“Active Support: Possible XSS vulnerability in Active Support MessagePack serializer”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:Ruby、Ruby on Rails。CVE:CVE-2026-126075。