## Active Support: Possible XSS vulnerability in Active Support MessagePack serializer

- 種別: advisory
- 重大度: medium
- 関連技術: ruby, rails
- CVE: CVE-2026-126075
- 公開日時: 2026-11-10T21:27:12.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-2w9f-fxwj-w2qf)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-2w9f-fxwj-w2qf

影響: rubygems:activesupport >= 8.1.0.beta1, < 8.1.4.1 → 8.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…