Advisory

GHSA-9p3v-wf2w-v29c

Also known as: CVE-2009-4214

Summary

Moderate severity vulnerability that affects rails

Details

Cross-site scripting (XSS) vulnerability in the strip_tags function in Ruby on Rails before 2.2.s, and 2.3.x before 2.3.5, allows remote attackers to inject arbitrary web script or HTML via vectors involving non-printing ASCII characters, related to HTML::Tokenizer and actionpack/lib/action_controller/vendor/html-scanner/html/node.rb.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2017-10-24 18:33 UTC
Modified
2025-04-09 20:05 UTC

Affected packages and fixes

rails

RubyGems · All systems

Affected

  • introduced 0, fixed 2.2.2 (ecosystem)

Fixed versions

2.2.2

Fix

The export has no generic command for this ecosystem.

rails

RubyGems · All systems

Affected

  • introduced 2.3.0, fixed 2.3.5 (ecosystem)

Fixed versions

2.3.5

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences