Advisory

GHSA-gm25-fpmr-43fj

Also known as: CVE-2007-3227

Summary

Moderate severity vulnerability that affects rails

Details

Cross-site scripting (XSS) vulnerability in the to_json (ActiveRecord::Base#to_json) function in Ruby on Rails before edge 9606 allows remote attackers to inject arbitrary web script via the input values.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2017-10-24 18:33 UTC
Modified
2025-04-09 15:30 UTC

Affected packages and fixes

rails

RubyGems · All systems

Affected

  • introduced 0, fixed 1.2.5 (ecosystem)

Fixed versions

1.2.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