VDB
Sign up
MEDIUM

GHSA-v5jg-558j-q67c

actionpack Cross-site Scripting vulnerability

Quick fix

GHSA-v5jg-558j-q67c — actionpack: upgrade to the fixed version with the command below.

bundle update actionpack

Details

Cross-site scripting (XSS) vulnerability in the `strip_tags` helper in `actionpack/lib/action_controller/vendor/html-scanner/html/node.rb` in Ruby on Rails 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 tag with an invalid name.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References