← 脆弱性・アップデート

警告脆弱性アドバイザリ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。