Active Support: Possible XSS vulnerability in Active Support MessagePack serializer
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| 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…
Read on GitHub Advisory Database
On 11/11/2026, 06:27 AM, GitHub Advisory Database published "Active Support: Possible XSS vulnerability in Active Support MessagePack serializer" (type: Advisory). Severity is "Medium" (medium). Related technologies: Ruby, Ruby on Rails. CVE: CVE-2026-126075.