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.
http://www.vupen.com/english/advisories/2007/2216
http://www.novell.com/linux/security/advisories/2007_24_sr.html
http://weblog.rubyonrails.org/2007/10/5/rails-1-2-4-maintenance-release
http://weblog.rubyonrails.org/2007/10/12/rails-1-2-5-maintenance-release
http://security.gentoo.org/glsa/glsa-200711-17.xml
http://secunia.com/advisories/27756
http://secunia.com/advisories/27657
http://secunia.com/advisories/25699
http://pastie.caboo.se/65550.txt