VDB
Sign up
MEDIUM

GHSA-9fh3-vh3h-q4g3

activesupport Cross-site Scripting vulnerability

Quick fix

GHSA-9fh3-vh3h-q4g3 — activesupport: upgrade to the fixed version with the command below.

bundle update activesupport

Details

Cross-site scripting (XSS) vulnerability in `activesupport/lib/active_support/core_ext/string/output_safety.r`b in Ruby on Rails 2.x before 2.3.13, 3.0.x before 3.0.10, and 3.1.x before 3.1.0.rc5 allows remote attackers to inject arbitrary web script or HTML via a malformed Unicode string, related to a "UTF-8 escaping vulnerability."

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/activesupport
Introduced in: 2.0.0Fixed in: 2.3.13
Fixbundle update activesupport
RubyGems/activesupport
Introduced in: 3.0.0Fixed in: 3.0.10
Fixbundle update activesupport

References