Skip to content
OpenAdvisories
Medium CVE-2009-3009 EUVD-2017-0194GHSA-8qrh-h9m2-5fvf

Cross site scripting that affects rails

Published Sep 8, 2009 · Updated Aug 7, 2024 · Assigned by mitre

Description

Cross-site scripting (XSS) vulnerability in Ruby on Rails 2.x before 2.2.3, and 2.3.x before 2.3.4, allows remote attackers to inject arbitrary web script or HTML by placing malformed Unicode strings into a form helper.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rails 2.2.3-1 —
Debian 13 rails 2.2.3-1 —
Debian 12 rails 2.2.3-1 —
Debian 5.0 rails 2.1.0-7 DSA-1887-1

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems actionpack >= 2.0.0, < 2.2.3 2.2.3 GHSA-8qrh-h9m2-5fvf
RubyGems actionpack >= 2.3.0, < 2.3.4 2.3.4 GHSA-8qrh-h9m2-5fvf
RubyGems activesupport >= 2.0.0, < 2.2.3 2.2.3 GHSA-8qrh-h9m2-5fvf
RubyGems activesupport >= 2.3.0, < 2.3.4 2.3.4 GHSA-8qrh-h9m2-5fvf

Advisories 1

References