activesupport is vulnerable to Cross-Site Scripting (XSS)
47
CVE Score
Medium
Cross-Site Scripting (XSS)
ActiveSupport::MessagePack in activesupport serializes a SafeBuffer as its bytes and deserializes it as a new html_safe buffer. A buffer that is no longer html_safe? after an in-place mutation such as gsub! is restored as safe, so rendering it skips ERB escaping. Untrusted input stored that way through a MessagePack cookie, cache, or message serializer can run as markup. The fix serializes an unsafe buffer with a marker and deserializes it as a String.
Upgrade the activesupport library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and the application stores a mutated SafeBuffer through a MessagePack serializer.
8.1.0 - 8.1.4
Fixed in 8.1.4.1activesupport is vulnerable to Cross-Site Scripting (XSS) in versions 8.1.0 - 8.1.4.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.