Advisory

GHSA-vxvp-4xwc-jpp6

Also known as: CVE-2015-3226

Summary

activesupport Cross-site Scripting vulnerability

Details

Cross-site scripting (XSS) vulnerability in json/encoding.rb in Active Support in Ruby on Rails 4.1.x before 4.1.11 and 4.2.x before 4.2.2 allows remote attackers to inject arbitrary web script or HTML via a crafted Hash that is mishandled during JSON encoding.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2017-10-24 18:33 UTC
Modified
2025-11-04 21:04 UTC

Affected packages and fixes

activesupport

RubyGems · All systems

Affected

  • introduced 4.1.0, fixed 4.1.11 (ecosystem)

Fixed versions

4.1.11

Fix

The export has no generic command for this ecosystem.

activesupport

RubyGems · All systems

Affected

  • introduced 4.2.0, fixed 4.2.2 (ecosystem)

Fixed versions

4.2.2

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